@charset "UTF-8";


/* =====================================================
 * ページ全体
 * ===================================================== */
html {
  font-size: 62.5%; /* ルートのフォントサイズを10pxにする */
}


body, nav, section, header, main, footer, h1, h2, p, ul, ol, li, dl, dt, dd, div, table, input, textarea, select {
  font-size: 1.7rem;
}


/* -------------------------
 * フォント調整
 * ------------------------- */
h1, .sub {
  font-size: 130%;
}


.sub2 {
  font-size: 120%;
}


.sub3, .subCount, .subCount2 {
  font-size: 110%;
}


.sub4 {
  font-size: 100%;
}


.grid-cell-ttl { /* トップページ：各カテゴリー記事のタイトル */
  font-size: 85%;
}


.ranking { /* メニュー：ランキング記事のタイトル */
  font-size: 75%;
}


/* =====================================================
 * お問合せページ＆利用規約
 * ===================================================== */
.terms_heading {
  font-size: 180%;
}


/* =====================================================
 * メインコンテンツ
 * 固定ヘッダーの高さ65px(10px 画像45px 10px)
 * ===================================================== */
.container {
  position : relative;
  display: flex;
  display:-webkit-box; /*--- Android4.3以前ブラウザ用 ---*/
  display:-webkit-flex; /*--- iOS8以前Safari用 ---*/
  flex: 1 0 auto; /* IE対策（flex:1のみだとバグ) */
  margin: 0 auto;
  width: 90%;
  padding: 20px 0 50px;
}


.logoImg { /* ロゴ画像の位置調整 */
  position: relative;
  width: 180px;
  height: 42px;
  margin: 0;
}


/* -------------------------
 * 検索窓
 * ------------------------- */
.search-container {
  position: relative;
  border: 1px solid #999;
  width: 100%;
  overflow: hidden;
  display: flex;
  align-items: center; /* 縦を中央に */
}


.search-container input[type="text"] {
  width: 100%;
  border: none;
  font-size: 85%;
  height: 2.5em;
  padding: 5px 5em 5px 20px;
}


.search-container input[type="text"]:focus {
  outline: 0;
}


.search-container input[type="submit"] {
  cursor: pointer;
  font-family: FontAwesome; /* 虫眼鏡マークに必要 */
  font-size: 1em;
  border: none;
  background: #f67d41;
  color: #fff;
  position: absolute;
  width: 2.5em;
  height: 2.5em;
  right: 0;
  outline : none;
}


main {
  flex: 1;
  -webkit-box-flex: 1; /*--- Android4.3以前ブラウザ用 ---*/
  -webkit-flex: 1; /*--- iOS8以前Safari用 ---*/
  margin: 0;
  padding: 0;
}


.width {
  width: 100%;
}


/* =====================================================
 * サイドメニュー
 * ===================================================== */
aside {
  position: relative;
  width: 280px;
  flex-shrink: 0; /* 縮小しない */
  margin: 0 0 0 30px;
  padding: 0;
}


.sticky { /* ランキング以下を固定する */
  position: -webkit-sticky;
  position: sticky;
  top: 150px;
}


/* =====================================================
 * フッター
 * ===================================================== */


/* -------------------------
 * 広告掲載について
 * 会員登録
 * ログイン
 * SNSのボックス
 * ------------------------- */
.footer-cap {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  align-items: baseline;
}


/* =====================================================
 * スペシャル
 * ===================================================== */
.arrow_box_left, .arrow_box_right {
  font-size: 100%;
}


.about2 {
  line-height: 160%;
}


/* -------------------------
 * 縦横スクロールのテーブル
 * ------------------------- */
@media screen AND (min-width:767.9px) AND (max-width:800px) {

  .scroll-table,
  .scroll-table-xy {
    width: 370px;
  }

}


@media screen AND (min-width:800.1px) AND (max-width:850px) {

  .scroll-table,
  .scroll-table-xy {
    width: 400px;
  }

}


@media screen AND (min-width:850.1px) AND (max-width:900px) {

  .scroll-table,
  .scroll-table-xy {
    width: 450px;
  }

}


@media screen AND (min-width:900.1px) AND (max-width:950px) {

  .scroll-table,
  .scroll-table-xy {
    width: 500px;
  }

}


@media screen AND (min-width:950.1px) AND (max-width:1000px) {

  .scroll-table,
  .scroll-table-xy {
    width: 530px;
  }

}


@media screen AND (min-width:1000.1px) AND (max-width:1050px) {

  .scroll-table,
  .scroll-table-xy {
    width: 560px;
  }

}


@media screen AND (min-width:1050.1px) AND (max-width:1124.9px) {

  .scroll-table,
  .scroll-table-xy {
    width: 590px;
  }

}
