:root {
  --page-max: 960px;
  --line: #e5e7eb;
  --brand: #0c6233;
  --sticky-offset: 72px;
}

/* Google Fonts - Noto Sans JPを読み込み（サイト全体で使用） */
@import url("https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@400;500;600;700&display=swap");

html {
  overflow-x: hidden;
  overflow-y: auto;
  height: auto;
  min-height: 100%;
  scroll-behavior: smooth;
}

body {
  font-family: "Noto Sans JP", -apple-system, BlinkMacSystemFont, "Segoe UI",
    Roboto, "Helvetica Neue", sans-serif;
  background: #f7f7f7;
  margin: 0;
  padding-bottom: 150px;
  overflow-x: hidden;
  overflow-y: auto;
  height: auto;
  min-height: 100vh;
  position: relative;
  -webkit-tap-highlight-color: transparent;
  font-weight: 400;
  line-height: 1.6;
  letter-spacing: 0.02em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.content-wrapper {
  min-height: 100vh;
  background-color: #f7f7f7;
  overflow-x: hidden;
  overflow-y: visible;
}

.works-header {
  background: linear-gradient(135deg, #1a1a1a 0%, #2c2c2c 100%);
  color: white;
  padding: 1.5rem 1rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.header-content {
  max-width: 960px;
  margin: 0 auto;
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  font-size: 0.9rem;
  margin-bottom: 1rem;
  transition: color 0.3s ease;
  padding: 0.5rem 0;
  min-height: 44px;
}

.back-link:hover {
  color: white;
}

.back-link svg {
  width: 20px;
  height: 20px;
}

.works-title-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  margin-top: 1.5rem;
}

.works-title-image {
  width: 100%;
  max-width: 900px;
  height: auto;
  display: block;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.works-subtitle {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.9);
  font-weight: 400;
  text-align: center;
  letter-spacing: 0.05em;
}

.search-filter-section {
  background-color: white;
  padding: 1.5rem 1rem;
  margin-bottom: 1.5rem;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.search-box {
  max-width: 960px;
  margin: 0 auto 1.5rem;
  position: relative;
}

.search-box input {
  width: 100%;
  padding: 1rem 3.5rem 1rem 1rem;
  font-size: 1rem;
  border: 2px solid #e0e0e0;
  border-radius: 8px;
  transition: all 0.3s ease;
  min-height: 52px;
}

.search-box input:focus {
  outline: none;
  border-color: #0066cc;
  box-shadow: 0 0 0 3px rgba(0, 102, 204, 0.1);
}

.search-clear-btn {
  position: absolute;
  right: 1rem;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  font-size: 1.5rem;
  color: #999;
  cursor: pointer;
  display: none;
  padding: 0;
  width: 30px;
  height: 30px;
  line-height: 1;
  transition: color 0.3s ease;
}

.search-clear-btn:hover {
  color: #333;
}

.filter-container {
  max-width: 960px;
  margin: 0 auto;
}

.filter-group {
  margin-bottom: 1.5rem;
}

.filter-label {
  display: block;
  font-weight: 600;
  margin-bottom: 0.75rem;
  color: #333;
  font-size: 0.95rem;
}

.filter-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.filter-btn {
  padding: 0.6rem 1.2rem;
  min-height: 44px;
  border: 2px solid #e0e0e0;
  background-color: white;
  color: #666;
  border-radius: 6px;
  cursor: pointer;
  font-size: 0.9rem;
  font-weight: 500;
  transition: all 0.3s ease;
}

.filter-btn:hover {
  border-color: #0066cc;
  color: #0066cc;
  background-color: #f0f7ff;
}

.filter-btn.active {
  background-color: #0066cc;
  color: white;
  border-color: #0066cc;
}

.results-info {
  text-align: center;
  margin-top: 1.5rem;
  font-size: 1rem;
  color: #666;
  font-weight: 500;
}

.results-info span {
  font-weight: 700;
  color: #0066cc;
  font-size: 1.2rem;
}

.works-grid-section {
  margin: 0 auto;
  padding: 3rem 0 3rem;
}

.works-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1rem;
  margin-bottom: 2.5rem;
  max-width: var(--page-max);
  margin-left: auto;
  margin-right: auto;
  padding: 0 16px;
  box-sizing: border-box;
}

.work-preview-card {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  cursor: default;
  position: relative;
}

.work-preview-image {
  position: relative;
  width: 100%;
  padding-top: 75%;
  overflow: hidden;
  background: #f0f0f0;
}

.work-preview-image img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.work-expand-icon {
  display: none;
}

.work-expand-icon:hover {
  display: none;
}

.work-preview-badge {
  display: none;
}

.work-preview-badge.badge-sd {
  display: none;
}

.work-preview-info {
  padding: 1rem;
}

.work-preview-car {
  font-size: 0.95rem;
  font-weight: 600;
  color: #1a1a1a;
  margin: 0 0 0.75rem 0;
  line-height: 1.4;
  letter-spacing: 0.02em;
}

.work-preview-codes {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
}

.work-preview-code {
  display: inline-block;
  padding: 0.35rem 0.75rem;
  background: linear-gradient(135deg, #4a4a4a, #2c2c2c);
  color: #fff;
  font-family: "Helvetica Neue", "Helvetica", Arial, sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  border-radius: 6px;
  letter-spacing: 0.05em;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.work-preview-date {
  display: none;
}

.work-preview-lp-section {
  padding: 0.75rem 1rem 0;
  background: #fafafa;
}

.work-preview-lp-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background: linear-gradient(135deg, #1a5f3a, #0d4027);
  color: #fff;
  font-size: 0.8rem;
  font-weight: 600;
  border-radius: 6px;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 2px 4px rgba(26, 95, 58, 0.3);
}

.work-preview-lp-btn:hover {
  background: linear-gradient(135deg, #0d4027, #082818);
  box-shadow: 0 4px 8px rgba(26, 95, 58, 0.4);
  transform: translateY(-2px);
}

.work-preview-lp-btn svg {
  flex-shrink: 0;
}

.lp-btn-text {
  line-height: 1.4;
  letter-spacing: -0.05em; /* 文字間を詰めてスペースを削減 */
}

/* PC画面では改行を無効化 */
.lp-btn-text br {
  display: none;
}

.work-preview-pdf-section {
  padding: 0.75rem 1rem;
  background: #fafafa;
}

.work-preview-pdf-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background: linear-gradient(135deg, #1a5f3a, #0d4027);
  color: #fff;
  font-size: 0.8rem;
  font-weight: 600;
  border-radius: 6px;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 2px 4px rgba(26, 95, 58, 0.3);
}

.work-preview-pdf-btn:hover {
  background: linear-gradient(135deg, #0d4027, #082818);
  box-shadow: 0 4px 8px rgba(26, 95, 58, 0.4);
  transform: translateY(-2px);
}

.work-preview-pdf-btn svg {
  flex-shrink: 0;
}

.pdf-mobile-br {
  display: none;
}

@media (max-width: 768px) {
  .pdf-mobile-br {
    display: inline;
  }

  /* スマホでLPボタンのテキスト内改行を有効化 */
  .lp-btn-text br {
    display: inline;
  }

  /* スマホでLPボタンを縦並びにして右側テキストを中央揃え */
  .work-preview-lp-btn {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0.3rem;
  }

  /* スマホでPDFボタンを縦並びにして右側テキストを中央揃え */
  .work-preview-pdf-btn {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0.3rem;
  }
}

.no-results {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 4rem 2rem;
  text-align: center;
  color: #999;
}

.no-results svg {
  margin-bottom: 1rem;
  opacity: 0.5;
  width: 64px;
  height: 64px;
}

.no-results p {
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
}

.reset-filter-btn {
  padding: 0.75rem 1.5rem;
  background-color: #0066cc;
  color: white;
  border: none;
  border-radius: 6px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.3s ease;
  min-height: 48px;
}

.reset-filter-btn:hover {
  background-color: #0052a3;
}

.loading {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 4rem 2rem;
  color: #666;
}

.loading-spinner {
  width: 48px;
  height: 48px;
  border: 4px solid #f0f0f0;
  border-top-color: #0066cc;
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin-bottom: 1rem;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.loading p {
  font-size: 1rem;
  font-weight: 500;
}

@media (max-width: 768px) {
  .works-header {
    padding: 1.25rem 1rem;
  }

  .back-link {
    font-size: 0.85rem;
  }

  .works-title-image {
    max-width: 100%;
    border-radius: 8px;
  }

  .works-subtitle {
    font-size: 0.95rem;
  }

  .search-filter-section {
    padding: 1.25rem 1rem;
  }

  .filter-btn {
    padding: 0.5rem 1rem;
    font-size: 0.85rem;
  }

  .works-grid {
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1rem;
    padding: 0 16px;
  }

  .work-expand-icon {
    width: 24px;
    height: 24px;
    font-size: 20px;
    bottom: 10px;
    right: 10px;
  }

  .work-preview-info {
    padding: 0.8rem;
  }

  .work-preview-car {
    font-size: 0.85rem;
  }

  .work-preview-date {
    font-size: 0.75rem;
  }

  .work-preview-code {
    font-size: 0.7rem;
    padding: 0.3rem 0.6rem;
  }

  .work-preview-badge {
    font-size: 0.65rem;
    padding: 0.3rem 0.6rem;
  }
}

@media (max-width: 480px) {
  .works-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.8rem;
    padding: 0 16px;
  }

  .filter-btn {
    padding: 0.4rem 0.8rem;
    font-size: 0.8rem;
  }

  .work-preview-info {
    padding: 0.8rem;
  }

  .work-preview-car {
    font-size: 0.85rem;
  }

  .work-preview-date {
    font-size: 0.75rem;
  }
}

button:focus,
a:focus,
input:focus {
  outline: 3px solid #0066cc;
  outline-offset: 2px;
}

@media print {
  .works-header,
  .search-filter-section {
    display: none;
  }

  .work-preview-card {
    box-shadow: none;
    border: 1px solid #ddd;
    page-break-inside: avoid;
  }
}

.work-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 10000;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.work-modal.active {
  display: block;
  opacity: 1;
}

.work-modal-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8);
  cursor: pointer;
}

.work-modal-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: white;
  border-radius: 12px;
  width: 90%;
  max-width: 800px;
  max-height: 90vh;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

.work-modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem;
  border-bottom: 1px solid #e0e0e0;
  background-color: #f9f9f9;
}

.work-modal-title {
  font-size: 1.2rem;
  font-weight: 700;
  color: #1a1a1a;
  margin: 0;
}

.work-modal-close {
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #666;
  transition: all 0.3s ease;
  border-radius: 6px;
  min-width: 44px;
  min-height: 44px;
}

.work-modal-close:hover {
  background-color: #f0f0f0;
  color: #333;
}

.work-modal-body {
  overflow-y: auto;
  padding: 1.5rem;
}

.work-modal-images {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin-bottom: 1.5rem;
  background-color: #000;
  padding: 1rem;
  border-radius: 8px;
}

.work-modal-image {
  aspect-ratio: 4 / 3;
  border-radius: 8px;
  overflow: hidden;
  background-color: #1a1a1a;
}

.work-modal-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.work-modal-info {
  background-color: white;
}

.work-modal-section {
  margin-bottom: 1.5rem;
  padding: 1.5rem;
  background-color: #f9f9f9;
  border-radius: 8px;
}

.work-modal-section:last-child {
  margin-bottom: 0;
}

.work-modal-section h4 {
  font-size: 1.25rem;
  font-weight: 800;
  color: #1a1a1a;
  margin: 0 0 1rem 0;
  line-height: 1.4;
  letter-spacing: 0.02em;
}

.work-modal-section p {
  font-size: 0.95rem;
  line-height: 1.8;
  color: #444;
  margin: 0;
}

.work-modal-section ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.work-modal-section li {
  padding: 0.75rem 0;
  border-bottom: 1px solid #e0e0e0;
  font-size: 0.9rem;
  color: #444;
  line-height: 1.6;
}

.work-modal-section li:last-child {
  border-bottom: none;
}

.work-modal-section li strong {
  color: #1a1a1a;
  font-weight: 700;
  margin-right: 0.5rem;
}

.modal-product-codes {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 0.5rem;
}

.modal-product-code {
  display: inline-block;
  padding: 0.5rem 1rem;
  background: linear-gradient(135deg, #4a4a4a, #2c2c2c);
  color: #fff;
  font-size: 0.9rem;
  font-weight: 800;
  border-radius: 8px;
  letter-spacing: 0.05em;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
}

.modal-date {
  font-size: 0.95rem;
  color: #999;
  text-align: right;
  margin: 0;
  padding-top: 1rem;
  border-top: 1px solid #e0e0e0;
}

@media (max-width: 768px) {
  .work-modal-content {
    width: 100%;
    height: 100%;
    max-width: 100%;
    max-height: 100%;
    border-radius: 0;
    top: 0;
    left: 0;
    transform: none;
  }

  .work-modal-header {
    padding: 1rem;
  }

  .work-modal-title {
    font-size: 1rem;
  }

  .work-modal-body {
    padding: 1rem;
  }

  .work-modal-images {
    grid-template-columns: 1fr;
    gap: 0.75rem;
    padding: 0.75rem;
  }

  .work-modal-section {
    padding: 1rem;
    margin-bottom: 1rem;
  }

  .work-modal-section h4 {
    font-size: 0.95rem;
  }

  .work-modal-section p {
    font-size: 0.9rem;
  }

  .work-modal-section li {
    font-size: 0.85rem;
    padding: 0.6rem 0;
  }
}

.work-modal.active .work-modal-content {
  animation: modalSlideIn 0.3s ease;
}

@keyframes modalSlideIn {
  from {
    opacity: 0;
    transform: translate(-50%, -45%);
  }
  to {
    opacity: 1;
    transform: translate(-50%, -50%);
  }
}

@media (max-width: 768px) {
  @keyframes modalSlideIn {
    from {
      opacity: 0;
      transform: translateY(20px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
}

.fixed-footer {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background-color: #333333;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 10px 0;
}

.footer-content-wrapper {
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  box-sizing: border-box;
  padding: 0 20px;
}

.shop-name {
  text-align: center;
  font-size: 21px;
  color: #ffffff;
  margin: 10px 0;
}

.btn-group {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-bottom: 5px;
}

.btn-rectangle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 16px;
  border-radius: 5px;
  text-decoration: none;
  color: #ffffff;
  font-weight: normal;
  min-width: 100px;
  box-sizing: border-box;
  border: 2px solid lightgrey;
}

.btn-call,
.btn-mail {
  background-color: #004d40;
}

.btn-storeinfo {
  background-color: #1a237e;
}

.modal {
  display: none;
  position: fixed;
  z-index: 10000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
}

.modal-content {
  background: #fff;
  margin: 15% auto;
  padding: 30px 40px;
  border-radius: 16px;
  width: 90%;
  max-width: 500px;
  text-align: center;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
  position: relative;
}

.modal-content h2 {
  font-size: 1.8rem;
  margin-bottom: 20px;
  color: #333;
}

.phone-number {
  font-size: 2.2rem;
  font-weight: bold;
  color: #1310ba;
  margin: 0;
}

.close {
  position: absolute;
  right: 20px;
  top: 15px;
  font-size: 2rem;
  font-weight: bold;
  cursor: pointer;
  color: #666;
}

.close:hover {
  color: #000;
}

/* 製品詳細ページ用のフォント強度調整 */

/* 価格表示（56,100円、16,500円など） */
.price-display,
.product-price,
.installation-fee {
  font-weight: 600 !important;
  color: #1a1a1a !important;
}

/* 製品特徴バッジ（2WAY、ACエレメント、純正カプラーなど） */
.feature-badge,
.product-feature,
.spec-badge {
  font-weight: 600 !important;
}

/* 注記テキスト（＊本製品はフロント専用です...など） */
.product-note,
.specification-note,
.note-text,
p[style*="background"],
.product-info p {
  font-weight: 400 !important;
  font-size: 0.85rem !important;
  line-height: 1.7 !important;
}

/* Copyright表記のスマホ用改行 */
.sp-copyright-br {
  display: none;
}

@media (max-width: 768px) {
  .sp-copyright-br {
    display: inline;
  }
}

/* SEO用h1タグ（視覚的に非表示だが、検索エンジンには認識される） */
.seo-h1 {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

/* パンくずリスト */
.breadcrumb {
  background-color: #f8f9fa;
  padding: 12px 20px;
  border-bottom: 1px solid #e0e0e0;
}

.breadcrumb-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  font-size: 14px;
  max-width: 1200px;
  margin: 0 auto;
}

.breadcrumb-item {
  display: flex;
  align-items: center;
  color: #666;
}

.breadcrumb-item a {
  color: #0066cc;
  text-decoration: none;
  transition: color 0.2s;
}

.breadcrumb-item a:hover {
  color: #004499;
  text-decoration: underline;
}

.breadcrumb-item.active {
  color: #333;
  font-weight: 500;
}

.breadcrumb-item:not(:last-child)::after {
  content: "›";
  margin: 0 8px;
  color: #999;
  font-size: 16px;
}

@media (max-width: 768px) {
  .breadcrumb {
    padding: 10px 15px;
  }

  .breadcrumb-list {
    font-size: 13px;
  }

  .breadcrumb-item:not(:last-child)::after {
    margin: 0 6px;
  }
}

/* フローティングボタン */
.floating-buttons {
  position: fixed;
  right: 20px;
  bottom: 160px;
  display: flex;
  flex-direction: row; /* 横並びに変更 */
  align-items: center; /* 垂直中心揃え */
  gap: 12px;
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: opacity 0.3s, visibility 0.3s, transform 0.3s;
}

/* 960px幅コンテンツの右端に配置 */
@media (min-width: 1000px) {
  .floating-buttons {
    right: calc((100vw - 960px) / 2);
  }
}

.floating-buttons.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.floating-btn {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.95);
  color: #333;
  border: 1px solid rgba(0, 0, 0, 0.1);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  text-decoration: none;
  padding: 8px;
  backdrop-filter: blur(10px);
}

.floating-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  background: rgba(255, 255, 255, 1);
  border-color: rgba(0, 0, 0, 0.15);
}

.floating-btn:active {
  transform: translateY(0);
}

.floating-btn svg {
  margin-bottom: 2px;
  stroke: #555;
  transition: stroke 0.3s;
}

.floating-btn:hover svg {
  stroke: #000;
}

.floating-btn .btn-text {
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.5px;
  color: #666;
  transition: color 0.3s;
}

.floating-btn:hover .btn-text {
  color: #000;
}

.scroll-top-btn {
  background: rgba(255, 255, 255, 0.95);
}

.home-btn {
  width: 112px; /* 2倍に拡大 (56px → 112px) */
  height: 112px; /* 2倍に拡大 (56px → 112px) */
  background: transparent; /* 背景を透明に */
  border: none; /* ボーダーを削除 */
  box-shadow: none; /* シャドウを削除 */
  padding: 0; /* パディングを削除 */
  backdrop-filter: none; /* ブラーエフェクトを削除 */
  opacity: 0.9; /* 少し透過させる */
  transition: all 0.3s ease;
}

.home-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  opacity: 1; /* ホバー時は完全に不透明 */
}

.home-btn-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

@media (max-width: 768px) {
  .floating-buttons {
    right: 12px;
    bottom: 145px;
    gap: 10px;
  }

  .floating-btn {
    width: 48px;
    height: 48px;
  }

  .home-btn {
    width: 76.8px; /* 96pxの80% */
    height: 76.8px; /* 96pxの80% */
  }

  .floating-btn svg {
    width: 18px;
    height: 18px;
  }

  .floating-btn .btn-text {
    font-size: 8px;
  }
}
