@charset "UTF-8";

/* ========================================
   example.css  v4
   設置事例一覧 / 詳細共通
======================================== */


/* =========================================
   一覧：コンテンツエリア 白背景・上余白
========================================= */
.lower-main-content {
  background: #ffffff;
}

/* =========================================
   一覧：ページタイトル
========================================= */
.example-page-title {
  font-family: 'Inria Sans', sans-serif;
  font-size: 32px;
  font-weight: 400;
  color: #3B4E59;
  letter-spacing: 1.6px;
  border-bottom: 1.5px solid #3B4E59;
  padding-left: 60px;
  padding-bottom: 0;
  margin-bottom: 0;
}
@media (max-width: 768px) {
  .example-page-title {
    font-size: 20px;
    padding-left: 0;
    letter-spacing: 0.5px;
    padding-bottom: 0;
    margin-bottom: 0;
  }
}


/* =========================================
   一覧：フィルタータブ
   PC：右揃え・固定200px・Inria Sans 16px
   SP：縦リスト・全幅
========================================= */
.example-filter {
  display: flex;
  flex-wrap: nowrap;
  gap: 1px;
  background: #ffffff; /* 1pxギャップを白に */
  border-bottom: none;
  justify-content: flex-start;
  margin-bottom: 50px;
}
.example-filter-btn {
  flex: 1; /* 全幅に均等分割 */
  height: 50px;
  padding: 10px 6px;
  font-family: 'Inria Sans', sans-serif;
  font-size: 16px;
  font-weight: 400;
  color: #3B4E59;
  background: #F5F5F5;
  border: none;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
  letter-spacing: 0.8px;
  text-align: center;
  white-space: nowrap;
  position: relative;
}
.example-filter-btn:hover {
  background: #E9EBEC;
}
.example-filter-btn.is-active {
  background: #3B4E59;
  color: #F5F5F5;
}
.example-filter-btn.is-active::after {
  display: none;
}

@media (max-width: 768px) {
  .example-page-title {
    margin-bottom: 24px; /* タイトルとフィルターの間に余白 */
  }
  .example-filter {
    flex-direction: column;
    justify-content: flex-start;
    gap: 1px;
    background: #ffffff; /* 区切り線を白に */
    margin-bottom: 24px;
    margin-top: 0;
  }
  .example-filter-btn {
    flex: none;
    width: 100%;
    height: 44px;
    font-size: 14px;
    text-align: left;
    padding: 10px 20px;
    letter-spacing: 0.7px;
    border-bottom: 1px solid #ffffff; /* 各ボタンの下線を白 */
  }
  .example-filter-btn:last-child {
    border-bottom: none;
  }
  /* SP矢印：サイズ調整 */
  .example-card-arrow img {
    width: 6px;
  }
}


/* =========================================
   一覧：下部フィルター（SP専用・PC非表示）
========================================= */
.example-filter-bottom {
  display: none; /* PC では非表示 */
}


/* =========================================
   一覧：グリッド PC:2カラム / SP:1カラム
========================================= */
.example-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 50px 40px;
  padding: 0 6%;
}
@media (max-width: 768px) {
  .example-grid {
    grid-template-columns: 1fr;
    gap: 19px;
  }
  /* SP：白背景・上余白 */
  .lower-main-content .white-box {
    background: #ffffff !important;
    padding-top: 20px !important;
  }
  /* SP：下部フィルター表示 */
  .example-filter-bottom {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    gap: 1px;
    background: #ffffff;
    margin-top: 43px;
    margin-bottom: 0;
  }
  /* SP：TOPへ戻る → lower.css のグローバルスタイルを使用 */
}


/* =========================================
   一覧：カード
   写真（上）+ ライトグレー下部バー（バッジ・施設名・矢印）
========================================= */
.example-card {
  display: block;
  background: #ffffff;
  border-radius: 8px;
  overflow: hidden;
  outline: 2px #CECECE solid;
  outline-offset: -2px;
  box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.15);
}
.example-card:hover .example-card-thumb img {
  transform: scale(1.03);
}

/* 写真エリア */
.example-card-thumb {
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #E9EBEC;
}
.example-card-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

/* 下部バー：ライトグレー #F7F7F7 */
.example-card-body {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 25px 10px 10px;
  background: #F7F7F7;
  height: 70px;
  box-sizing: border-box;
}

/* バッジ */
.example-card-badge {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  font-family: 'Inria Sans', sans-serif;
  font-size: 16px;
  font-weight: 550;
  color: #F5F5F5;
  background: #0D518C;
  border-radius: 4px;
  white-space: nowrap;
  flex-shrink: 0;
}
.example-card-badge--panel {
  background: #368ABF;
}
.example-card-badge--water {
  background: #88C9F2;
}

/* 施設名：ダークテキスト（ライト背景のため） */
.example-card-name {
  flex: 1;
  font-family: 'Inria Sans', sans-serif;
  font-size: 20px;
  font-weight: 400;
  color: #4B5B64;
  letter-spacing: 1px;
  text-align: center;
}

/* 矢印：icon-arrow.svg（→ 型） */
.example-card-arrow {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.example-card-arrow img {
  width: 6px;
  height: auto;
  display: block;
}

@media (max-width: 768px) {
  .example-card-body {
    height: 53px;
    padding: 8px 25px 8px 10px;
    gap: 8px;
  }
  .example-card-badge {
    font-size: 12px;
    padding: 4px 7px;
  }
  .example-card-name {
    font-size: 16px;
    letter-spacing: 0.8px;
  }
}


/* =========================================
   一覧：TOPへ戻るボタン帯
   → lower.css のグローバルスタイルを使用
========================================= */


/* =========================================
   詳細：コンテンツラッパー（white-box 上書き）
   ※ list用 .lower-main-content .white-box より後に同等以上の
     specificity で定義し、詳細ページ専用スタイルを確立
========================================= */
.lower-main-content .example-detail-content {
  margin-top: 0 !important;
  padding: 0 !important; /* 各要素が自分で padding を持つ */
}
@media (max-width: 768px) {
  .lower-main-content .example-detail-content {
    padding: 0 !important;
    background: #ffffff !important;
  }
}


/* =========================================
   詳細：タイトル + 下線
   全幅・テキスト左揃え・60px インデント
========================================= */
.example-detail-title {
  font-family: 'Inria Sans', 'Noto Sans JP', sans-serif;
  font-weight: 400;
  font-size: 32px;
  letter-spacing: 1.6px;
  color: #3B4E59;
  border-bottom: 1.5px solid #3B4E59;
  padding: 30px 20px 20px 60px;
  margin: 0 0 24px;
}
@media (max-width: 768px) {
  .example-detail-title {
    font-size: 20px;
    color: #4B5B64;
    padding: 20px 16px 16px;
    border-bottom: 1px solid #3B4E59;
    margin-bottom: 16px;
  }
}


/* =========================================
   詳細：バッジ（タイトル下・写真上）
========================================= */
.example-detail-badge {
  display: inline-flex;
  align-items: center;
  align-self: flex-start; /* flex 子要素として幅を広げない */
  padding: 5px 30px;
  font-size: 20px;
  font-weight: 550;
  color: #fff;
  background: #0D518C;
  font-family: 'Inria Sans', sans-serif;
  border-radius: 0;
  margin: 0 0 20px 60px; /* 左60px インデント（タイトルと揃える） */
}
.example-detail-badge--panel { background: #368ABF; }
.example-detail-badge--water { background: #88C9F2; }
@media (max-width: 768px) {
  .example-detail-badge {
    height: 34px;
    font-size: 15px;
    padding: 0 16px;
    margin: 0 0 16px 16px;
    white-space: nowrap; /* 改行させない */
  }
}


/* =========================================
   詳細：メイン写真
========================================= */
.example-detail-photo-area {
  position: relative;
  max-width: 660px;
  width: 100%;
  margin: 0 auto 50px;
  padding: 0 20px;
  box-sizing: border-box;
}
.example-detail-photo-area > img {
  width: 100%;
  height: auto;
  display: block;
}
.example-zoom-btn {
  position: absolute;
  bottom: 12px;
  right: 32px; /* padding 20px + 12px */
  width: 40px;
  height: 40px;
  background: rgba(255,255,255,0.9);
  border: 1px solid #ccc;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: zoom-in;
}
.example-zoom-btn img { width: 20px; height: 20px; }
@media (max-width: 768px) {
  .example-detail-photo-area {
    max-width: 100%;
    padding: 0;
    margin: 0 0 30px;
  }
  .example-zoom-btn { right: 12px; }
}


/* =========================================
   詳細：製品情報 見出し
   全幅・テキスト左揃え・タイトルと同インデント
========================================= */
.example-product-section { margin-bottom: 0; }

.example-product-heading {
  font-family: 'Inria Sans', 'Noto Sans JP', sans-serif;
  font-weight: 400;
  font-size: 24px;
  color: #3B4E59;
  letter-spacing: 1.6px;
  text-align: left;
  border-bottom: 1px solid #3B4E59;
  padding: 0 20px 14px 60px;
  margin-bottom: 24px;
}
@media (max-width: 768px) {
  .example-product-heading {
    font-size: 20px;
    padding: 30px 16px 12px;
    margin-bottom: 20px;
  }
}



.example-product-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 368px;
  max-width: calc(100% - 40px);
  margin: 0 5%;
  padding-left: 25px;
  background: #ffffff;
  border-radius: 2px;
  outline: 1px solid #0D518C;
  outline-offset: -1px;
  overflow: hidden;
  text-decoration: none;
  transition: background 0.2s;
}
.example-product-card--panel { outline-color: #368ABF; }
.example-product-card--water { outline-color: #88C9F2; }
.example-product-card:hover { background: #F0F6FB; }

/* 左コンテンツ（画像 + テキスト） */
.example-product-card-inner {
  display: flex;
  align-items: center;
  gap: 18px;
  min-width: 0;
  flex: 1;
}

/* サムネイル */
.example-product-card-thumb {
  flex-shrink: 0;
  width: 69px;
  height: 115px;
}
.example-product-card-thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 10px;
}


.example-product-card-body {
  display: flex;
  flex-direction: column;
  gap: 5px;
  width: 180px;
  flex-shrink: 1;
  min-width: 0;
}

/* モデル名 */
.example-product-card-model {
  font-family: 'Inria Sans', sans-serif;
  font-weight: 400;
  font-size: 16px;
  letter-spacing: 1.6px;
  color: #4B5B64;
  white-space: nowrap;
}


.example-product-card-divider {
  width: 100%;
  height: 0;
  border-top: 2px solid #0D518C;
}
.example-product-card--panel .example-product-card-divider {
  border-top-color: #368ABF;
}
.example-product-card--water .example-product-card-divider {
  border-top-color: #88C9F2;
}

/* 製品名 */
.example-product-card-name {
  font-family: 'Inria Sans', sans-serif;
  font-size: 12px;
  font-weight: 400;
  color: #4B5B64;
  letter-spacing: 0.6px;
  line-height: 1.5;
}

/* アロー列：20px幅・全高 */
.example-product-card-arrow {
  flex-shrink: 0;
  width: 20px;
  align-self: stretch;
  background: #0D518C;
  display: flex;
  align-items: center;
  justify-content: center;
}
.example-product-card--panel .example-product-card-arrow {
  background: #368ABF;
}
.example-product-card--water .example-product-card-arrow {
  background: #88C9F2;
}
.example-product-card-arrow img { display: none; }
.example-product-card-arrow::after {
  content: '';
  display: block;
  width: 7px;
  height: 7px;
  border-top: 1.5px solid #F5F5F5;
  border-right: 1.5px solid #F5F5F5;
  transform: rotate(45deg);
  margin-right: 2px;
}

/* 製品セクション下余白 */
.example-product-section {
  padding-bottom: 60px;
}

@media (max-width: 768px) {
  .example-product-card {
    width: 100%;
    max-width: 100%;
    margin: 0;
  }
  .example-product-section {
    padding: 0 16px 40px;
  }
}


/* =========================================
   詳細：設置事例に戻るボタン帯
========================================= */
.example-back-section {
  position: relative;
  overflow: hidden;
  background: url('../images/products/bg-products.jpg') no-repeat center center / cover;
  padding: 20px 20px;
  text-align: center;
}
.example-back-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(13, 81, 140, 0.60);
  backdrop-filter: blur(5px);
  z-index: 0;
}
.example-back-btn {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 359px;
  padding: 14px 20px;
  outline: 1px solid #fff;
  border: none;
  color: #fff;
  font-size: 14px;
  font-weight: 550;
  font-family: 'Noto Sans JP', sans-serif;
  letter-spacing: 0.05em;
  background: transparent;
  text-decoration: none;
  transition: background 0.25s;
  border-radius: 0;
}
.example-back-btn:hover { background: rgba(255, 255, 255, 0.15); }
@media (max-width: 768px) {
  .example-back-section { padding: 36px 20px; }
  .example-back-btn {
    width: 100%;
    max-width: 320px;
    padding: 14px 20px;
    font-size: 13px;
  }
}
