/*
 Theme Name: FAKE Child (Quality of Life)
 Template: fake_tcd074
 Version: 1.0.0
 Author: 山本 英夫（life.partner122152@gmail.com）
*/

/* 親テーマの style.css は header.php で link 読み込み（@import は直列読み込みになり表示が遅れるため） */


/* =========================================================
   サイト全体の基本フォント・文字間隔
   もとは親テーマ style.css（v1.9）の reset css に直接書かれていた指定。
   親テーマを更新すると消えるため、同じ内容を子テーマに移した。
   ※親テーマにあった Google Fonts の @import は、@font-face より後ろに
     書かれていてブラウザに無視されていたため、移していない。
========================================================= */
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup,
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
  font-family: "Noto Sans CJK JP", sans-serif !important;
  letter-spacing: 0.05em;
}


/* =========================================================
   INFORMATION CATEGORY TABS
   ABOUTページと同じTCD標準タブデザイン
========================================================= */


/*
 * INFORMATIONのカテゴリータブだけ
 * 横幅600px
 *
 * ABOUT：
 * 200px × 4 = 800px
 *
 * INFORMATION：
 * 200px × 3 = 600px
 */

#tab_button_list .qol-category-tabs {
  width: 600px;
  margin: 0 auto;
  padding: 0;
}


/*
 * 各ボタン
 *
 * 親テーマのABOUTと同じ
 * width 200px
 * height 60px
 */

#tab_button_list .qol-category-tabs > li {
  float: left;

  width: 200px;
  height: 60px;

  margin: 0;
  padding: 0;
}


/*
 * タブリンク
 *
 * ABOUTと同じ
 * height:60px;
 * line-height:60px;
 *
 * line-heightで上下中央にするため、
 * flexは使用しない
 */

#tab_button_list .qol-category-tabs > li > a {
  display: block;

  width: 100%;
  height: 60px;
  line-height: 60px;

  margin: 0;
  padding: 0;

  box-sizing: border-box;

  text-align: center;

  font-size: 14px;
  font-weight: normal;

  background: rgba(
    255,
    255,
    255,
    0.8
  );

  color: #111;

  text-decoration: none;
}


/*
 * 現在表示しているカテゴリー
 */

#tab_button_list
.qol-category-tabs
> li.is-active
> a {

  background: #000;
  color: #fff;

}


/*
 * hover
 *
 * ABOUTと同じ
 */

#tab_button_list
.qol-category-tabs
> li
> a:hover {

  background: #000;
  color: #fff;

}


/* =========================================================
   SMARTPHONE
========================================================= */

@media screen and (max-width: 767px) {


  /*
   * スマホでは画面幅いっぱいに変更
   */

  #tab_button_list .qol-category-tabs {
    width: 100%;
  }


  /*
   * 3等分
   */

  #tab_button_list
  .qol-category-tabs
  > li {

    width: 33.333333%;
    height: 60px;

  }


  /*
   * 高さはTCD標準の60pxを維持
   */

  #tab_button_list
  .qol-category-tabs
  > li
  > a {

    height: 60px;
    line-height: 60px;

    font-size: 13px;

  }


}