@charset "UTF-8";


/* =====================================================
 * スライダー
 * ===================================================== */
.slider {
  position: relative;
  width: 100%;
  margin: 0;
  padding: 0;
}


.slick-slide {
  margin: 0;
  padding: 0;
}


.slick-slide img {
  width: 100%;
}


.slick-slide {
  transition: all ease-in-out .3s;
  opacity: .5;
}


.slick-active {
  opacity: .6;
}


.slick-current {
  opacity: 1;
}


.slider-space { /* スライダー画像それぞれの余白 */
  padding: 10px 10px 20px;
}


@media screen AND (min-width:1125px) {
  .slider-space {
    padding: 20px 0;
  }
}


.slide-box {
  display: block;
  position: relative;
  max-width: 480px;
}


.slide-box img {
  -webkit-box-shadow: 2px 2px 4px gray;
  box-shadow: 2px 2px 4px gray;
}


.slide-item {
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  font-size: 90%;
  background: rgba(45,45,45, 0.8); /* opacityだと透過が子要素の継承されてしまうためrgbaで対応 */
  padding: 5px;
  color: #fff;
  white-space: nowrap;
}


@media screen AND (max-width:767.9px) {
  .slide-item {
    font-size: 75%;
    padding: 3px;
  }
}


@media screen AND (min-width:1125px) {
  .slide-box {
    padding: 0 10px;
  }

  .slide-item {
    left: 10px;
    font-size: 75%;
    padding: 0px 5px;
  }
}


/* =====================================================
 * 横スクロール式ランキング表
 * ===================================================== */


.scroll-box {
  position: relative;
  overflow-x: auto;
  white-space: nowrap;
  -webkit-overflow-scrolling: touch;
  margin-bottom: 50px;
}


.scroll-ranking {
  position: relative;
  display: flex;
  flex-wrap: nowrap; /* 折り返さない */
}


.scroll-ranking li {
  position: relative;
  display: block;
  list-style-type: none;
  margin: 0;
  padding: 15px;
  border: 1px solid #c7c7c7;
  border-left: none;
}


.scroll-ranking li:nth-child(1) {
 border-left: 1px solid #c7c7c7;
}


.scroll-ranking li a {
  text-decoration: none;
}


.scroll-ranking li > div {
  width: 200px;
  margin-bottom: 20px;
}


.inline-01 {
  width: 100%;
  text-align: center;
}


.inline-01 img {
  width: 120px;
  height: 156px;
}


.inline-02 {
  position: relative;
  width: 100%;
  margin: 15px 0 0;
  white-space: normal;
}


.inline-02 h3 {
  font-size: 90%;
  font-weight: bold;
}


.i-02-type { /* アイテムの詳細（カンマ区切り） */
  margin: 5px 0 0;
  color: #666;
  font-size: 75%;
}


.ranking-num { /* ランキング番号 */
  position: absolute;
  top: 0;
  right: 0;
  background: #BB0000;
  color: #fff;
  width: 25px;
  height: 25px;
  text-align: center;
  line-height: 25px;
}


/* ★マーク表示の枠 */
.wrap-star {
  display: flex;
  align-items: center;
}


.wrap-star p {
  margin: 0;
  font-size: 75%;
  color: #888;
}


.n { /* 口コミ数 */
  margin: 0;
  color:#4682b4 !important;
}


.wrap-star > .star {
  margin: 0 0 0 5px;
}


/* -------------------------
 * 以下PCの表示（スライドなし）
 * ------------------------- */

@media screen AND (min-width:1125px) { /* 横幅1100px以上のスタイル(目視による概算数値) */

  .scroll-box {
    overflow-x: visible;
    white-space: normal;
  }


  .scroll-ranking {
    position: relative;
    width: 100%;
    display: flex; /* 縦並びの場合はgrid */
    flex-wrap: wrap; /* はみ出たら折り返し */
    gap: 25px; /* 余白 */
  }


  .scroll-ranking li {
    position: relative;
    display: inline-block;
    width: calc(100% / 6);
    flex-grow: 1; /* 幅を均等に広げる */
    border: 1px solid #c7c7c7;
  }


  .scroll-ranking li > div {
    width: 100%;
  }

  .ranking-num { /* ランキング番号 */
    width: 30px;
    height: 30px;
    text-align: center;
    line-height: 30px;
  }

}


/* -------------------------
 * 各購入サイトへ遷移させる３つのバナー（トップページ用）
 * バックカラー付きのリスト
 * アマゾン・楽天・Yahoo！ショッピングの独自リンク
 * ------------------------- */
.list-tag4 {
  display: flex;
  background-color: #dcdcdc;
  border-radius: 5px;
  padding: 5px;
}


.list-tag4 li {
  display: block !important;
  width: 30px !important;
  margin: 0 10px 0 0 !important;
  padding: 0 !important; /* scroll-rankingによる余白を削除 */
  list-style-type: none;
  border: none !important;
  flex-grow: 0 !important;
}


.list-tag4 li:nth-last-child(1) {
 margin: 0 !important;
}


.list-tag4 li img {
  width: 30px;
  border-radius: 50%;
  border: 1px solid #c7c7c7;
}


/* =====================================================
 * トップバナー
 * ===================================================== */
.banner {
  display: block;
  position: relative;
  margin: 0px auto 30px;
  padding: 5px 10px;
  width: 100%;
  background-image: url("../images/bg_banner.png");
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
}


.banner:hover {
  color: #fff;
  text-decoration: none;
}


.banner::before {
  position: absolute;
  top: 0px;
  left: 0px;
  right: 0px;
  bottom: 0px;
  background-color: rgba(255, 255, 255, .1);
  content: "";
}


.banner:hover::before {
  background-color: rgba(255, 255, 255, 0);
  /* transitionを使ってゆっくり半透明にする設定 */
  -webkit-transition: 0.3s ease-in-out; /* Google,Chrome,Safari */
  -moz-transition: 0.3s ease-in-out; /* Firefox */
  -o-transition: 0.3s ease-in-out; /* Opera */
  -ms-transition: 0.3s ease-in-out; /* IE */
  transition: 0.3s ease-in-out;
}


.banner > p {
  position: relative;
  margin: 0;
  width: 100%;
  color: #fff;
  font-weight: bold;
  text-align: center;
  text-shadow: -2px -2px 4px #333, 2px -2px 4px #333, 2px 2px 4px #333, -2px 2px 4px #333;
}


.banner > p > span {
  display: block;
}


.banner > p > span:nth-of-type(1) {
  font-size: 85%;
}


.banner > p > span:nth-of-type(2) {
  font-size: 120%;
  line-height: 180%;
}


.banner > p > span:nth-of-type(2)::after {
  font-family: "Font Awesome 5 Free";
  content: "\f054";
  font-weight: 900;
  color: #fff;
  margin-left: 1.5rem;
}


/* =====================================================
 * サマリーコンテンツ
 * ===================================================== */
.content-summary {
  position: relative;
  margin: 0 0 30px;
}


.items-group {
  margin-top :20px;
}


.headline-tab {
  display: inline-block;
  margin: 15px 0 0;
  border: 1px solid #c7c7c7;
  border-radius: 5px;
  padding: 2px 5px;
  color: #666;
}


.headline-time {
  margin: 10px 0 0;
  text-align: right;
  font-size: 80%;
  color: #666;
}


@media screen AND (min-width:1125.1px) { /* PCでは左に画像、右にコンテンツグループ */
  .content-summary {
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    display: flex;
  }


  .pic-img { /* 左のピックアップ画像 */
    width: 50%;
  }


  .items-group { /* 右のコンテンツグループ */
    width: 50%;
    margin: 0;
    padding-left: 30px;
  }
}


/* -------------------------
 * カードの中身
/* ------------------------- */
.cards {
  position: relative;
  white-space: normal;
}


.cards img {
  display: inline-block;
  width: 100%;
  margin-bottom: 15px;
  background-color: #fff;
}


.cards_ttl {
  display: inline-block;
  margin-top: 15px;
  color: #000;
  font-size: 110%;
  font-weight: bold;
  text-decoration: none;
  overflow: hidden; /* はみ出す部分は表示させない */
}


.columns { /* 特集3カラムのフォント調整 */
  font-size: 110%;
}


/* PC・タブレット */
@media screen AND (min-width:767.9px) {
  .cards_ttl {
    font-size: 90%;
  }

  .columns {
    font-size: 80%;
    line-height: 140%;
  }
}


.tag {
  margin: 10px 0 0;
  padding: 0;
  left: 0;
  font-size: 75%;
  color: #666;
}


.tag:before {
  font-family: "Font Awesome 5 Free";
  content: "\f02c";
  color: orange;
  font-weight: 900;
  margin-right: 0.3em;
}


.ft_bottom {
  margin: 10px 0 0;
  padding: 0;
  text-align: right;
  color: #a9a9a9;
  font-size: 10px;
}


/* =====================================================
 * 各見出し
 * ===================================================== */


 /* -------------------------
  * 最上部の見出し
  * トップニュース
 /* ------------------------- */
 .top-0 {
   margin: 0 0 20px;
   font-size: 130%;
   font-weight: bold;
   color: #222;
   border-bottom: 2px solid silver;
 }


 .top-0:after {
   content: "【最新の専門知識に基づく特集記事】";
   font-size: 60%;
   font-weight: normal;
   color: #666;
   margin-left: 1rem;
 }


 /* -------------------------
  * 見出し
  * トップの特集記事
 /* ------------------------- */
.special {
 position: relative;
 margin: 0 0 50px;
 text-align: center;
}


.special p {
  position: absolute;
  top: 0;
  left: 0;
  font-size: 90%;
  background: rgba(45,45,45, 0.6); /* opacityだと透過が子要素の継承されてしまうためrgbaで対応 */
  padding: 20px 10px;
  color: #fff;
  font-weight: bold;
  white-space: nowrap;
}


/* -------------------------
* ピックアップ記事の枠
/* ------------------------- */
.pick-up-wrap {
  position: relative;
  background-color: #e5e4e6;
  padding: 20px 20px 0;
}


.pick-up-wrap img {
  border-radius: 5px 5px 0 0;
}


/* -------------------------
 * 見出し
 * 特集記事一覧
/* ------------------------- */
.top-feature {
  margin: 0 0 10px;
  padding-left: 10px;
  font-size: 130%;
  color: #000;
}


.top-feature:after {
  content: "エルゴヒューマンの疑問や使用感がよくわかる記事";
  font-size: 60%;
  font-weight: normal;
  color: #666;
  margin-left: 1rem;
}


/* =====================================================
 * 商品一覧
* ===================================================== */
.outer_items {
  position: relative;
  width: 100%;
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-flex-wrap: wrap;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
}


.grid_items {
  width: 100%;
  margin: 0;
  list-style-type: none;
  font-size: 0;
}


.grid_items li {
  margin: 0;
  padding: 0;
  padding-top: 50px;
  display: inline-block;
  vertical-align: top;
  width: 100%;
}


/* スマートフォン */
@media screen AND (max-width:768px) {
  .grid_items li {
    width: 50%;
  }

  .grid_items li:nth-child(odd) { /* 奇数のときは右にマージンを入れる */
    padding-right: 10px;
  }

  .grid_items li:nth-child(even) { /* 偶数のときは左にマージンを入れる */
    padding-left: 10px;
  }

  .grid_items li:nth-child(-n + 2) { /* 順番が2番目までは上部のpaddingを排除する */
    padding-top: 0;
  }
}


/* タブレット・PC*/
@media screen AND (min-width:768.1px) {
  .grid_items li {
    width: 33.3%;
  }

  .grid_items li:nth-child(3n + 1) {
    padding-right: 25px;
  }

  .grid_items li:nth-child(3n + 2) {
    padding: 50px 12.5px 0 12.5px;
  }

  .grid_items li:nth-child(3n + 3) {
    padding-left: 25px;
  }

  .grid_items li:nth-child(-n + 3) { /* 順番が3番目までは上部のpaddingを排除する */
    padding-top: 0;
  }
}


.item_name { /* 商品名 */
  margin: 15px 0 0;
  font-weight: bold;
}


/* =====================================================
 * 特集記事一覧（3カラム）
* ===================================================== */
.feature-wrap {
  position: relative;
  margin: 50px 0 0;
  border: 1px solid #c7c7c7;
  padding: 20px;
}


.grid-2 {
  display: grid;
  list-style-type: none;
  font-size: 0; /* 子要素が持つフォントサイズに起因する間隔をなくすため */
  grid-auto-flow: row; /* 縦並びにする（※初期値) */
  column-gap: 15px; /* 横の余白 */
  row-gap: 15px; /* 縦の余白 */
  /* 上記はgap: 10px 10px と同じ */
}


.grid-2 li {
  width: 100%;
}


/* PC */
@media screen AND (min-width:1025px) {
  .grid-2 {
    grid-auto-flow: column; /* 横並びにする(縦の場合はrow※初期値) */
    grid-template-columns: 1fr 1fr 1fr; /* カラムの幅の割合を均等にする */
  }

  .feature-wrap {
    padding: 20px 10px;
  }
}


/* 特集カード枠の装飾 */
.feature-cards {
  width: 100%;
  background-color: #fff;
  -webkit-box-shadow: 0 3px 5px 5px #f5f5f5;
  box-shadow: 0 3px 5px 5px #f5f5f5;
}


/* guide.phpで使用 */
/* =====================================================
 * メニュー（3カラム）
* ===================================================== */


.grid-3 {
  margin: 0;
  padding: 0;
  list-style-type: none;
  font-size: 0;
}


.grid-3 li {
  margin: 0 0 20px 0;
  padding: 0;
  display: inline-block;
  width: 100%;
}


.grid-3 li:nth-last-child(1) {
  margin: 0;
}


/* PC */
@media screen AND (min-width:1025px) {
  .grid-3 li {
    margin: 0;
    padding: 10px;
    display: inline-block;
    width : calc(100% / 3);
  }
}


/* guide.phpで使用 */
.feature-cards02 {
  position: relative;
  padding: 20px;
  text-align: center;
  width: 100%;
  background-color: #fff;
  -webkit-box-shadow: 0 3px 5px 5px #f5f5f5;
  box-shadow: 0 3px 5px 5px #f5f5f5;
}


.feature-cards02 img {
  width: 50px;
  height: 50px;
}


.feature-cards02 p {
  margin: 20px 0 0;
  font-size: 85%;
}


.feature-cards02 a {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  text-decoration: none;
}


.feature-cards02 a:hover {
  background-color: #222;
}


/* =====================================================
 * 記事集合体枠
* ===================================================== */


/* -------------------------
 * 上部の見出し
/* ------------------------- */
.wrapper-topic {
  display: grid;
  grid-template-columns: repeat(auto-fit, 30px); /* auto-fitを指定することで、横幅によってカラム数が変動する */
  column-gap: 5px;
  margin: 50px 0 15px;
}


  .topic-text {
    padding: 5px;
    margin-bottom: 5px;
    font-weight: bold;
    color: #000;
    border: 1px solid #c7c7c7;
  }


/* -------------------------
 * 上部2カラム（pcで）の枠
/* ------------------------- */
.wrapper-2c {
  display: grid;
  margin-top: 20px;
  border-top: 1px dotted #c7c7c7;
  grid-auto-flow: row; /* 縦並びにする（※初期値) */
}


  .inner-2c {
    display: grid;
    grid-row: span 4; /* rid-rows: span [カード内の要素数]として、要素分の行数を確保 */
    grid-template-rows: subgrid; /* subgridとは、グリッドレイアウトが入れ子構造になっているときに、親要素のグリッドを引き継いで使うことができる機能 */
    border-bottom: 1px dotted #c7c7c7;
    padding: 15px 0;
  }


/* PC */
@media screen AND (min-width:1025px) {
  .wrapper-2c {
    grid-template-columns: repeat(2, 1fr); /* 横並び */
  }


    .inner-2c {
      border-right: 1px dotted #c7c7c7;
      border-bottom: 1px dotted #c7c7c7;
      height: 150px;
      padding: 15px 0;
    }

      .inner-2c:nth-child(2n + 1) {
        padding-right: 15px;
      }

      .inner-2c:nth-child(2n) {
        border-right: none;
        padding-left: 15px;
      }

}


/* -------------------------
 * 下部の3カラム（pcで）の枠
/* ------------------------- */
/* 幅1024.9pxまでの表示 */
@media screen AND (max-width: 1024.9px) {
.wrapper-3c {
  display: grid;
  grid-template-columns: repeat(2, 1fr); /* 横２列並び */
}


  .inner-3c {
    grid-row: span 4; /* rid-rows: span [カード内の要素数]として、要素分の行数を確保 */
    grid-template-rows: subgrid; /* subgridとは、グリッドレイアウトが入れ子構造になっているときに、親要素のグリッドを引き継いで使うことができる機能 */
    border-right: 1px dotted #c7c7c7;
    border-bottom: 1px dotted #c7c7c7;
    padding: 15px 0;
  }

    .inner-3c:nth-child(2n + 1) {
      padding-right: 15px;
    }

    .inner-3c:nth-child(2n) {
      border-right: none;
      padding-left: 15px;
    }
}


/* 幅1025px以上の表示 */
@media screen AND (min-width:1025px) {
  .wrapper-3c {
    display: grid;
    grid-template-columns: 32.5% 35% 32.5%;
  }

    .inner-3c {
      grid-row: span 4; /* rid-rows: span [カード内の要素数]として、要素分の行数を確保 */
      grid-template-rows: subgrid; /* subgridとは、グリッドレイアウトが入れ子構造になっているときに、親要素のグリッドを引き継いで使うことができる機能 */
      border-bottom: 1px dotted #c7c7c7;
      padding: 15px 0;
    }

      .inner-3c:nth-child(3n + 1) { /* 「1」から3つおき */
        padding-right: 15px;
      }

      .inner-3c:nth-child(2) { /* 2番目の枠線 */
        border-left: 1px dotted #c7c7c7;
        border-right: 1px dotted #c7c7c7;
      }

      .inner-3c:nth-child(3n + 2) { /* 「2」から3つおき */
        padding: 15px;
        border-left: 1px dotted #c7c7c7;
        border-right: 1px dotted #c7c7c7;
      }

      .inner-3c:nth-child(3n) { /* 3の倍数 */
        padding-left: 15px;
      }
}


.inner-2c a,
.inner-3c a {
  text-decoration: none;
}


/* -------------------------
 * 【共通】カードの中のスタイル
/* ------------------------- */
.c-ttl { /* タイトル */
  margin: 0;
  font-size: 110%;
  font-weight: bold;
  font-family: "Times New Roman", "YuMincho", "Hiragino Mincho ProN", "Yu Mincho", "MS PMincho", serif;
}


.c-dis { /* ディスクリプション */
  margin: 20px 0 0;
  font-weight: bold;
  font-size: 85%;
}


.c-card-items { /* カードとアイテム */
  display: flex;
  flex-wrap: wrap;
  list-style: none;
}


.c-card-items li {
  margin-right: 10px;
  font-size: 80%;
  color:#888;
}


.c-card-items li:nth-last-child(1) {
  margin: 0;
}


.c-created { /* 更新日 */
  margin: 0;
  font-size: 80%;
  color: #888;
}
