/* ==================================*/
/* 🎨 グローバル設定 */
/* ==================================*/

/* ----- フォント ----- */
@import url('https://fonts.googleapis.com/css2?family=M+PLUS+1p:wght@400;700&display=swap');

html body {
  font-family: 'Avenir Next', 'M PLUS 1p', sans-serif !important;
}

/* ----- 見出しカラー ----- */
h1, h2, h3 {
  color: #333 !important;
}

/* ==================================*/
/* 🔝 ヘッダー */
/* ==================================*/

/* ----- ヘッダー高さ ----- */
.site-header .inside-header {
  padding-top: 5px !important;
  padding-bottom: 5px !important;
}

/* ----- PCヘッダー固定 ----- */
@media (min-width: 769px) {
  .site-header {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    z-index: 9999 !important;
    background: #fff !important;
  }
  
  body {
    padding-top: 60px !important;
  }
  
  body.page-id-669 {
    padding-top: 0 !important;
  }
}

/* ==================================*/
/* 📱 スマホメニュー */
/* ==================================*/

/* ----- ハンバーガーボタン ----- */
.menu-toggle {
  background: transparent !important;
  border: none !important;
  padding: 5px !important;
  line-height: 1 !important;
}

.menu-toggle:hover,
.menu-toggle:focus {
  background: transparent !important;
}

.menu-toggle .gp-icon svg {
  color: #333 !important;
  transition: transform 0.3s ease, opacity 0.3s ease !important;
  width: 24px !important;
  height: 24px !important;
}

.menu-toggle[aria-expanded="true"] .gp-icon {
  transform: rotate(180deg) !important;
  transition: transform 0.3s ease !important;
}

.menu-toggle[aria-expanded="false"] .gp-icon {
  transform: rotate(0deg) !important;
  transition: transform 0.3s ease !important;
}

/* ----- Xアイコン位置補正 ----- */
.menu-toggle[aria-expanded="true"] .gp-icon svg {
  transform: translateY(-4px) !important;
}

/* ----- スマホ専用設定 ----- */
@media (max-width: 768px) {
  .site-header .inside-header {
    padding-top: 5px !important;
    padding-bottom: 5px !important;
  }

  .menu-toggle {
    background: transparent !important;
    border: none !important;
    padding: 5px !important;
    line-height: 1 !important;
  }

  .menu-toggle:hover,
  .menu-toggle:focus {
    background: transparent !important;
  }

  .menu-toggle .gp-icon svg {
    color: #333 !important;
    transition: transform 0.3s ease, opacity 0.3s ease !important;
  }

  .menu-toggle[aria-expanded="true"] .gp-icon {
    transform: rotate(180deg) !important;
    transition: transform 0.3s ease !important;
  }

  .menu-toggle[aria-expanded="false"] .gp-icon {
    transform: rotate(0deg) !important;
    transition: transform 0.3s ease !important;
  }

  .main-navigation,
  .main-navigation .main-nav,
  .main-navigation.toggled,
  .main-navigation.toggled .main-nav,
  #site-navigation {
    background: transparent !important;
    background-color: transparent !important;
  }

  .main-navigation .main-nav > ul {
    background: #fff !important;
    border-radius: 16px !important;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1) !important;
    margin: 10px !important;
    padding: 15px 0 !important;
    overflow: hidden !important;
  }

  .main-navigation .main-nav > ul > li > a {
    padding: 0px 25px !important;
    font-size: 15px !important;
    font-weight: 600 !important;
    color: #333 !important;
    transition: background 0.2s ease !important;
  }

  .main-navigation .main-nav > ul > li > a:hover {
    background: #f5f5f5 !important;
  }

  .main-navigation .main-nav > ul > li.current-menu-item > a {
    color: #333 !important;
  }

  .main-navigation.toggled .main-nav > ul {
    animation: menuSlideRight 0.3s ease forwards !important;
  }
}

/* ----- メニューアニメーション ----- */
@keyframes menuSlideRight {
  from {
    opacity: 0;
    transform: translateX(30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* ----- 現在ページ装飾 ----- */
.main-navigation.toggled .main-nav > ul > li.current-menu-item > a {
  background: linear-gradient(90deg, #C397F6, #50D7D1) !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  background-clip: text !important;
}

/* ==================================*/
/* 📱 ドロワーメニュー */
/* ==================================*/

/* ----- 背景ぼかし ----- */
header.site-header:has(nav.main-navigation.toggled)::before {
  content: '' !important;
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  background: rgba(0,0,0,0.7) !important;
  backdrop-filter: blur(4px) !important;
  -webkit-backdrop-filter: blur(4px) !important;
  z-index: 9998 !important;
}

header.site-header:has(nav.main-navigation.toggled) ~ #page {
  background-color: transparent !important;
}

nav.main-navigation.toggled {
  position: relative !important;
  z-index: 9999 !important;
}

/* ----- 閉じるボタン ----- */
header.site-header:has(nav.main-navigation.toggled) .menu-toggle .gp-icon svg {
  color: #fff !important;
}

/* ----- SNSアイコン ----- */
.drawer-sns-icons {
  display: none !important;
}

@media (max-width: 768px) {
  .drawer-sns-icons {
    display: flex !important;
    justify-content: center !important;
    gap: 20px !important;
    padding: 10px 0 20px !important;
    margin-bottom: 10px !important;
    border-bottom: 1px solid #eee !important;
  }

  .drawer-sns-icons a {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    transition: opacity 0.2s ease !important;
  }

  .drawer-sns-icons a:hover {
    opacity: 0.6 !important;
  }
}

/* ==================================*/
/* 🦶 フッター */
/* ==================================*/

/* ----- コピーライトバー ----- */
.site-footer .copyright-bar {
  text-align: center;
  padding: 15px 0;
  font-size: 13px;
  color: #666;
}

/* ----- コピーライト上書き ----- */
.site-info {
  visibility: hidden;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 60px;
}

.site-info::after {
  content: '© 2026 PetClass, Inc. All rights reserved.';
  visibility: visible;
  position: absolute;
  left: 0;
  right: 0;
  text-align: center;
}

/* ==================================*/
/* 🏠 トップページ（page-id-13） */
/* ==================================*/

/* ----- コンテンツ余白リセット ----- */
.page-id-13 .site-content,
.page-id-13 #content,
.page-id-13 #primary,
.page-id-13 #main {
  padding-top: 0 !important;
  margin-top: 0 !important;
}

.page-id-13 .separate-containers .inside-article {
  padding: 0 !important;
}

/* ----- パーティクル背景 ----- */
.page-id-13 {
  background: transparent !important;
}

.page-id-13 .site-content,
.page-id-13 #page {
  background: transparent !important;
}

/* ----- ヒーローテキスト ----- */
.page-id-13 .pc-hero-text {
  font-size: 48px !important;
}

@media (max-width: 768px) {
  .page-id-13 .pc-hero-text {
    font-size: 28px !important;
  }
}

/* ==================================*/
/* 📩 お問い合わせページ（page-id-1130） */
/* ==================================*/
.page-id-1130 #content {
  padding: 0 !important;
  margin: 0 !important;
}

.page-id-1130 #primary,
.page-id-1130 #main {
  padding: 0 !important;
  margin: 0 !important;
}

.page-id-1130 .separate-containers .inside-article {
  padding: 0 !important;
}

/* ==================================*/
/* 📩 プラポリページ（page-id-4958） */
/* ==================================*/
.page-id-4958 #content {
  padding: 0 !important;
  margin: 0 !important;
}

.page-id-4958 #primary,
.page-id-4958 #main {
  padding: 0 !important;
  margin: 0 !important;
}

.page-id-4958 .separate-containers .inside-article {
  padding: 0 !important;
}

/* ==================================*/
/* 🚀 LP専用（page-id-669） */
/* ==================================*/

/* ----- ヘッダー非表示 ----- */
.page-id-669 .site-header {
  display: none !important;
}

/* ----- コンテンツ余白リセット ----- */
.page-id-669 .site-content {
  padding-top: 0 !important;
  margin-top: 0 !important;
}

.page-id-669 .inside-article {
  padding-top: 0 !important;
}

/* page-3310 header hide */
.page-id-3310 header {
  display: none !important;
}

/* page-3310 header余白削除 */
.page-id-3310 body,
.page-id-3310 .site-content,
.page-id-3310 main {
  padding-top: 0 !important;
  margin-top: 0 !important;
}

/* page-3221 サイトヘッダー（ナビ部分）非表示 */
.page-id-3221 .site-header {
  display: none !important;
}

/* page-3221 header余白削除 */
.page-id-3221 body,
.page-id-3221 .site-content,
.page-id-3221 main {
  padding-top: 0 !important;
  margin-top: 0 !important;
}

/* page-3244 header hide */
.page-id-3244 header {
  display: none !important;
}

/* page-3244 header余白削除 */
.page-id-3244 body,
.page-id-3244 .site-content,
.page-id-3244 main {
  padding-top: 0 !important;
  margin-top: 0 !important;
}



/* ==================================*/
/* 💹 テーマのテーブル無効化 */
/* ==================================*/
table {
    border: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

table td,
table th {
    border: none !important;
}

/* ==================================*/
/* 投稿ページ H1 800px */
/* ==================================*/
/* ----- 800px中央寄せ ----- */
.single .entry-title,
.single .entry-content {
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

/* ----- 投稿メタ情報非表示 ----- */
.single .entry-meta {
  display: none;
}

/* ----- 投稿フッター非表示 ----- */
.single .entry-footer,
.single .post-meta-footer,
.single .cat-links,
.single .tags-links {
  display: none;
}

/* ==================================*/
/* 固定ページ H1 800px中央寄せ */
/* ==================================*/
.page .entry-title,
.page .entry-content {
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

/* ==================================*/
/* 個別ページのh1非表示
/* ==================================*/
/* 投稿ID 669：あずかるん汎用LPページ */
.page-id-669 h1 {
    display: none;
}

