@charset "utf-8";

/* =========================================================
   WELLUP すべての機器一覧（/all.php）専用CSS

   ・guide.php（/css/guide.css）の見出しデザインに揃えるための
     オーバーライド。#Rall.wu-all の配下だけに限定して当てるので、
     同じ h1/h2 ルールを共有している #RHindex・#information には
     影響しない。
   ・商品ブロック（#block / .small-block）には一切触らない。
========================================================= */

.wu-all {
  --wu-blue: #008fc6;
  --wu-blue-dark: #006f98;
  --wu-orange: #f39800;
  --wu-pink: #e05a74;
  --wu-text: #111111;
  --wu-muted: #59636a;
  --wu-line: #e2e6e9;
  counter-reset: wu-all-sec;
  padding-bottom: 60px;
}

/* ---------------------------------------------------------
   1カラム（サイドバーなし）レイアウト
   all.php の #contents に .wu-all-page を付与して
   style.css の #main{float:right;width:925px} を打ち消す
--------------------------------------------------------- */
.wu-all-page #main {
  float: none;
  width: 100%;
  margin: 0 auto;
}

/* box-sizing は自作パーツにだけ適用 */
.wu-all__hero,
.wu-all__hero * {
  box-sizing: border-box;
}

/* ---------------------------------------------------------
   ページヘッダー（guide.php の .wu-guide__hero と同一デザイン）
--------------------------------------------------------- */
#Rall.wu-all .wu-all__hero {
  padding: 26px 30px 28px;
  margin: 0 0 34px;
  border: 1px solid var(--wu-line);
  border-top: 4px solid var(--wu-blue);
  background: linear-gradient(180deg, #f7fbfd 0%, #ffffff 100%);
}

#Rall.wu-all .wu-all__eyebrow {
  margin: 0 0 6px;
  padding: 0;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  line-height: 1.4;
  text-align: left;
  color: var(--wu-blue-dark);
}

#Rall.wu-all .wu-all__title {
  position: static;
  margin: 0 0 12px;
  padding: 0;
  border: 0;
  background: none;
  font-size: 30px;
  font-weight: 700;
  line-height: 1.3;
  text-align: left;
  color: var(--wu-text);
}

/* 既存 #Rall h1:before の赤いバーを消す */
#Rall.wu-all .wu-all__title:before {
  content: none;
  display: none;
}

#Rall.wu-all .wu-all__lead {
  margin: 0;
  padding: 0;
  font-size: 15px;
  line-height: 1.9;
  text-align: left;
  color: var(--wu-muted);
}

#Rall.wu-all .wu-all__lead a {
  color: var(--wu-blue-dark);
  font-weight: 700;
  text-decoration: underline;
}

/* ---------------------------------------------------------
   大分類の見出し（h1）
   guide.php の .wu-guide__secTitle ＋ .wu-guide__secNum 相当。
   通し番号（01〜04）は CSS カウンタで自動採番するため、
   インクルード側（inc/all_*.php）は変更不要。
--------------------------------------------------------- */
#Rall.wu-all > h1 {
  display: flex;
  align-items: center;
  gap: 12px;
  position: static;
  margin: 64px 0 10px;
  padding: 0 0 12px;
  border: 0;
  border-bottom: 2px solid var(--wu-blue);
  background: none;
  font-size: 22px;
  font-weight: 700;
  line-height: 1.4;
  text-align: left;
  color: var(--wu-text);
  counter-increment: wu-all-sec;
}

#Rall.wu-all > h1:first-of-type {
  margin-top: 0;
}

/* 赤いバー（既存の :before）を番号バッジに作り替える */
#Rall.wu-all > h1:before {
  position: static;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: auto;
  min-width: 38px;
  height: 26px;
  padding: 0 8px;
  border-radius: 0;
  background: var(--wu-blue);
  color: #ffffff;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  line-height: 1;
  content: counter(wu-all-sec, decimal-leading-zero);
}

/* ---------------------------------------------------------
   カテゴリの見出し（h2）
   guide.php の .wu-guide__themeHead / .wu-guide__themeTitle 相当。
--------------------------------------------------------- */
#Rall.wu-all > h2 {
  position: static;
  margin: 44px 0 26px;
  padding: 0 10px 20px;
  border: 0;
  border-bottom: 1px solid var(--wu-line);
  background: none;
  font-size: 27px;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: 0.04em;
  text-align: center;
  color: var(--wu-text);
}

/* 見出し中央の横線（既存の :before）を消す */
#Rall.wu-all > h2:before {
  content: none;
  display: none;
}

#Rall.wu-all > h2 span {
  position: static;
  padding: 0;
  background: none;
}

/* h1 直後の h2 は間隔を詰める */
#Rall.wu-all > h1 + h2 {
  margin-top: 30px;
}

/* ---------------------------------------------------------
   Media queries（サイト共通のブレークポイントに合わせる）
--------------------------------------------------------- */

/* PC（狭め） */
@media only screen and (min-width: 641px) and (max-width: 1133px) {
  #Rall.wu-all .wu-all__title {
    font-size: 26px;
  }
}

/* smartPhone（body幅640px固定のレイアウト） */
@media screen and (max-width: 640px) {
  #Rall.wu-all .wu-all__hero {
    padding: 22px 18px 24px;
  }
  #Rall.wu-all .wu-all__title {
    font-size: 26px;
  }
  #Rall.wu-all .wu-all__lead {
    font-size: 14px;
  }
  #Rall.wu-all > h1 {
    margin-top: 48px;
    font-size: 20px;
  }
  #Rall.wu-all > h2 {
    margin-top: 36px;
    padding: 0 4px 16px;
    font-size: 23px;
  }
}
