@charset "utf-8";

/* =========================================================
   WELLUP 機器を探す（/guide.php）専用CSS

   ・商品カード部分は既存の #block / #block-base（wellup.css）を
     そのまま使うため、このファイルでは触らない。
   ・独自スタイルは .wu-guide__xxx のみに限定し、
     ワイルドカードや子孫セレクタで商品ブロックに影響させない。
========================================================= */

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

.wu-guide {
  --wu-blue: #008fc6;
  --wu-blue-dark: #006f98;
  --wu-blue-pale: #f2f8fb;
  --wu-orange: #f39800;
  --wu-orange-dark: #c47a00;
  --wu-orange-pale: #fdf5e9;
  --wu-pink: #e05a74;
  --wu-pink-dark: #c53f5a;
  --wu-pink-pale: #fdf0f2;
  --wu-text: #111111;
  --wu-muted: #59636a;
  --wu-line: #e2e6e9;
  padding-bottom: 60px;
}

/* box-sizing は自作パーツにだけ適用（商品ブロックには波及させない） */
.wu-guide__hero,
.wu-guide__hero *,
.wu-guide__chooser,
.wu-guide__chooser *,
.wu-guide__idx,
.wu-guide__idx *,
.wu-guide__sec,
.wu-guide__secTitle,
.wu-guide__secNum,
.wu-guide__theme,
.wu-guide__themeHead,
.wu-guide__themeHead *,
.wu-guide__themeMore,
.wu-guide__cta,
.wu-guide__cta * {
  box-sizing: border-box;
}

/* サイト共通の a:hover{opacity:.6} は自作パーツ内でのみ打ち消す */
.wu-guide__hero a:hover,
.wu-guide__chooser a:hover,
.wu-guide__idx a:hover,
.wu-guide__secTitle a:hover,
.wu-guide__themeHead a:hover,
.wu-guide__themeMore a:hover,
.wu-guide__secMore a:hover,
.wu-guide__cta a:hover {
  opacity: 1;
  filter: none;
}

.wu-guide__chooser a:hover img,
.wu-guide__idx a:hover img {
  opacity: 1;
  filter: none;
}

/* ---------------------------------------------------------
   ページヘッダー
--------------------------------------------------------- */
.wu-guide__hero {
  padding: 26px 30px 28px;
  margin-bottom: 34px;
  border: 1px solid var(--wu-line);
  border-top: 4px solid var(--wu-blue);
  background: linear-gradient(180deg, #f7fbfd 0%, #ffffff 100%);
}

.wu-guide__eyebrow {
  margin: 0 0 6px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--wu-blue-dark);
}

.wu-guide__title {
  margin: 0 0 12px;
  padding: 0;
  border: 0;
  background: none;
  font-size: 30px;
  font-weight: 700;
  line-height: 1.3;
  color: var(--wu-text);
}

.wu-guide__lead {
  margin: 0;
  font-size: 15px;
  line-height: 1.9;
  color: var(--wu-muted);
}

/* ---------------------------------------------------------
   探し方を選ぶ（ページ内リンク／3切り口）
--------------------------------------------------------- */
.wu-guide__chooserTitle {
  margin: 0 0 14px;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.4;
  color: var(--wu-text);
}

.wu-guide__chooser {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin: 0 0 44px;
  padding: 0;
  list-style: none;
}

.wu-guide__chooser > li {
  flex: 1 1 calc(25% - 12px);
  min-width: 220px;
  list-style: none;
}

.wu-guide__chooser a {
  display: flex;
  align-items: center;
  gap: 16px;
  height: 100%;
  padding: 18px 20px;
  border: 1px solid var(--wu-line);
  background: #ffffff;
  color: var(--wu-text);
  text-decoration: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.wu-guide__chooser a:hover {
  border-color: #c9d3d9;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.07);
  transform: translateY(-2px);
}

.wu-guide__chooserIcon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 54px;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  font-size: 22px;
}

.wu-guide__chooserIcon--all {
  background: #eef1f3;
  color: #4a5b64;
}

.wu-guide__chooserIcon--purpose {
  background: var(--wu-blue-pale);
  color: var(--wu-blue);
}

.wu-guide__chooserIcon--industry {
  background: var(--wu-orange-pale);
  color: var(--wu-orange);
}

.wu-guide__chooserIcon--concern {
  background: var(--wu-pink-pale);
  color: var(--wu-pink);
}

.wu-guide__chooserText {
  flex: 1 1 auto;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.4;
}

.wu-guide__chooserArrow {
  flex: 0 0 auto;
  font-size: 14px;
  color: #9aa4ab;
}

/* ---------------------------------------------------------
   インデックス（イラスト付きページ内リンク）
--------------------------------------------------------- */
.wu-guide__idx {
  margin-bottom: 26px;
  padding: 26px 26px 28px;
}

.wu-guide__idx--purpose {
  background: #eef6fb;
}

.wu-guide__idx--industry {
  background: #fdf5ea;
}

.wu-guide__idx--concern {
  background: #fdf0f2;
  margin-bottom: 52px;
}

.wu-guide__idxEyebrow {
  margin: 0 0 4px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
}

.wu-guide__idx--purpose .wu-guide__idxEyebrow {
  color: var(--wu-blue-dark);
}

.wu-guide__idx--industry .wu-guide__idxEyebrow {
  color: var(--wu-orange-dark);
}

.wu-guide__idx--concern .wu-guide__idxEyebrow {
  color: var(--wu-pink-dark);
}

.wu-guide__idxTitle {
  margin: 0 0 20px;
  font-size: 24px;
  font-weight: 700;
  line-height: 1.4;
  color: var(--wu-text);
}

.wu-guide__tiles {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.wu-guide__tiles > li {
  list-style: none;
}

.wu-guide__tiles--col4 > li {
  flex: 1 1 calc(25% - 12px);
  min-width: 200px;
}

.wu-guide__tiles--col3 > li {
  flex: 1 1 calc(33.333% - 11px);
  min-width: 240px;
}

.wu-guide__tiles a {
  display: flex;
  flex-direction: column;
  align-items: center;
  height: 100%;
  padding: 14px 14px 10px;
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.06);
  color: var(--wu-text);
  text-decoration: none;
  text-align: center;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.wu-guide__tiles a:hover {
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.09);
  transform: translateY(-3px);
}

/* 正方形イラスト（角丸）。白枠いっぱいに大きく配置 */
.wu-guide__tileImg {
  display: block;
  width: 100%;
  margin-bottom: 14px;
  border-radius: 10px;
  overflow: hidden;
  line-height: 0;
}

.wu-guide__tileImg img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 10px;
}

.wu-guide__tileTitle {
  display: block;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.5;
}

.wu-guide__tileText {
  display: block;
  margin-top: 8px;
  font-size: 12px;
  line-height: 1.6;
  color: var(--wu-muted);
}

.wu-guide__tileArrow {
  display: block;
  width: 100%;
  margin-top: auto;
  padding-top: 12px;
  text-align: right;
  font-size: 13px;
  color: #9aa4ab;
}

/* ---------------------------------------------------------
   セクション（見出し1）
--------------------------------------------------------- */
.wu-guide__sec {
  margin-bottom: 60px;
  scroll-margin-top: 20px;
}

.wu-guide__secTitle {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 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;
  color: var(--wu-text);
}

.wu-guide__secTitle a {
  color: inherit;
  text-decoration: none;
}

.wu-guide__secTitle a:hover {
  color: var(--wu-blue-dark);
  text-decoration: underline;
}

.wu-guide__secNum {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 38px;
  height: 26px;
  padding: 0 8px;
  background: var(--wu-blue);
  color: #ffffff;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
}

.wu-guide__secLead {
  margin: 0 0 26px;
  font-size: 14px;
  line-height: 1.8;
  color: var(--wu-muted);
}

.wu-guide__secMore {
  margin: 0;
  text-align: right;
  font-size: 14px;
  font-weight: 700;
}

.wu-guide__secMore a {
  color: var(--wu-blue-dark);
  text-decoration: none;
}

.wu-guide__secMore a:hover {
  text-decoration: underline;
}

.wu-guide__secMore i {
  margin-left: 6px;
  font-size: 11px;
}

/* ---------------------------------------------------------
   テーマブロック（見出し2＋商品抜粋）
--------------------------------------------------------- */
.wu-guide__theme {
  margin-bottom: 34px;
  padding-bottom: 6px;
  scroll-margin-top: 20px;
}

/* 中央寄せのシャープな小見出し（日本語＝大／英字＝小／説明文） */
.wu-guide__themeHead {
  margin-bottom: 30px;
  padding: 0 10px 20px;
  border-bottom: 1px solid var(--wu-line);
  text-align: center;
}

.wu-guide__themeTitle {
  margin: 0;
  padding: 0;
  border: 0;
  background: none;
  font-size: 27px;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: 0.04em;
  color: var(--wu-text);
}

.wu-guide__themeTitle a {
  color: inherit;
  text-decoration: none;
}

.wu-guide__themeTitle a:hover {
  color: var(--wu-blue-dark);
}

.wu-guide__themeEn {
  margin: 6px 0 0;
  text-align: center;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  line-height: 1.4;
  color: #9aa4ab;
}

.wu-guide__themeLead {
  margin: 16px 0 0;
  text-align: center;
  font-size: 16px;
  line-height: 1.9;
  color: var(--wu-muted);
}

.wu-guide__themeMore {
  margin: 12px 0 0;
  text-align: center;
  font-size: 13px;
  font-weight: 700;
}

.wu-guide__themeMore a {
  color: var(--wu-blue-dark);
  text-decoration: none;
}

.wu-guide__themeMore a:hover {
  text-decoration: underline;
}

.wu-guide__themeMore i {
  margin-left: 6px;
  font-size: 11px;
}

/* ---------------------------------------------------------
   商品カードに機器の説明文を表示（guide.php 限定）
   商品インクルード側の <h3 class="block-sub-title ... medium-block-none">
   は通常 medium-block では非表示。#Rguide 配下でのみ表示させる。
--------------------------------------------------------- */
#Rguide #block.medium-block {
  align-items: flex-start;
}

/* 製品名 */
#Rguide .medium-block #block-base .block-title.medium-block {
  font-size: 1.5em;
  line-height: 1.5;
  margin-bottom: 14px;
  /* 1行／2行の製品名で説明文・画像の位置が揃うように */
  min-height: 3em;
}

/* 解説文（block-sub-title）を表示 */
#Rguide .medium-block #block-base .block-sub-title.medium-block-none {
  display: block;
  margin: 0 10px 20px;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.9;
  color: #59636a;
  text-align: justify;
  /* 説明文の行数差で画像の位置がずれないように */
  min-height: 4.8em;
}

/* 価格表（右カラム）は非表示にして、画像を中央に大きく */
#Rguide .medium-block #block-base .block-content-right.medium-block {
  display: none;
}

#Rguide .medium-block #block-base .block-content.medium-block {
  justify-content: center;
}

#Rguide .medium-block #block-base .block-content-left.medium-block {
  width: 45%;
}

/* 見出しと商品ブロックの間隔（リード文がない場合） */
.wu-guide__themeHead + #block {
  margin-top: 20px;
}

/* ---------------------------------------------------------
   CTA
--------------------------------------------------------- */
.wu-guide__cta {
  padding: 30px 30px 28px;
  border: 1px solid var(--wu-line);
  border-top: 4px solid var(--wu-blue);
  background: #f6f9fb;
  text-align: center;
}

.wu-guide__ctaTitle {
  margin: 0 0 10px;
  text-align: center;
  font-size: 21px;
  font-weight: 700;
  line-height: 1.5;
}

.wu-guide__ctaText {
  margin: 0 0 22px;
  text-align: center;
  font-size: 14px;
  line-height: 1.9;
  color: var(--wu-muted);
}

.wu-guide__ctaBtns {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-bottom: 20px;
}

.wu-guide__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-width: 260px;
  padding: 14px 26px;
  border: 1px solid var(--wu-blue);
  background: #ffffff;
  color: var(--wu-blue-dark);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.4;
  text-decoration: none;
  transition: background 0.2s ease, color 0.2s ease;
}

/* 2つとも白抜き。ホバーで青地×白文字に反転 */
.wu-guide__btn:hover,
.wu-guide__btn--primary:hover {
  background: var(--wu-blue-dark);
  border-color: var(--wu-blue-dark);
  color: #ffffff;
}

.wu-guide__ctaTel {
  margin: 0;
  text-align: center;
  font-size: 26px;
  font-weight: 700;
  line-height: 1.3;
  color: var(--wu-text);
}

.wu-guide__ctaTel i {
  margin-right: 8px;
  color: var(--wu-blue);
}

.wu-guide__ctaTelNote {
  display: block;
  margin-top: 4px;
  font-size: 12px;
  font-weight: 400;
  color: var(--wu-muted);
}

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

/* PC（狭め） */
@media only screen and (min-width: 641px) and (max-width: 1133px) {
  .wu-guide__title {
    font-size: 26px;
  }
  .wu-guide__chooser > li {
    flex: 1 1 calc(50% - 8px);
    min-width: 0;
  }
  .wu-guide__tiles--col4 > li,
  .wu-guide__tiles--col3 > li {
    flex: 1 1 calc(50% - 8px);
    min-width: 0;
  }
}

/* smartPhone（body幅640px固定のレイアウト） */
@media screen and (max-width: 640px) {
  .wu-guide__hero {
    padding: 22px 18px 24px;
  }
  .wu-guide__title {
    font-size: 26px;
  }
  .wu-guide__lead {
    font-size: 14px;
  }
  .wu-guide__chooser > li {
    flex: 1 1 calc(50% - 8px);
    min-width: 0;
  }
  .wu-guide__idx {
    padding: 22px 16px 24px;
  }
  .wu-guide__idxTitle {
    font-size: 21px;
  }
  .wu-guide__tiles--col4 > li,
  .wu-guide__tiles--col3 > li {
    flex: 1 1 calc(50% - 8px);
    min-width: 0;
  }
  .wu-guide__tileTitle {
    font-size: 15px;
  }
  .wu-guide__secTitle {
    font-size: 20px;
  }
  .wu-guide__themeHead {
    padding: 0 4px 16px;
  }
  .wu-guide__themeTitle {
    font-size: 23px;
  }
  .wu-guide__themeLead {
    font-size: 13.5px;
  }
  .wu-guide__cta {
    padding: 24px 18px 22px;
  }
  .wu-guide__btn {
    min-width: 0;
    width: 100%;
  }
  .wu-guide__ctaTel {
    font-size: 24px;
  }
}
