@charset "utf-8";


/* =============================================================

　　スマホ画面 共通設定

============================================================= */


/*  全体 共通設定
---------------------------------------------*/

/*  PC・SP表示切り替え 共通設定
-------------------------- */

.mediaPC {
  display: none;
}

.mediaSP,
img.mediaSP {
  display: inline;
}

p.mediaSP,
div.mediaSP,
ul.mediaSP,
ol.mediaSP,
li.mediaSP,
table.mediaSP,
form.mediaSP,
dl.mediaSP,
h1.mediaSP,
h2.mediaSP,
h3.mediaSP,
h4.mediaSP,
h5.mediaSP,
h6.mediaSP {
  display: block;
}

/*  テキスト 基本設定
-------------------------- */

.yomiselect rt {
  display: none;
}

/*  フォーム 基本設定
-------------------------- */

form textarea {
  margin-top: 0;
  margin-bottom: 0;
}

input[type="radio"] {
  position: relative;
  -webkit-appearance: button;
  appearance: button;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  width: 20px;
  height: 20px;
  content: "";
  background-color: #FFFFFF;
  border: 1px solid #999999;
  -webkit-border-radius: 24px !important;
  border-radius: 24px !important;
  -webkit-box-shadow: inset 4px 4px 10px rgba(0,0,0,0.2);
  box-shadow: inset 4px 4px 10px rgba(0,0,0,0.2);
  vertical-align: middle;
  cursor: pointer;
}

input[type="radio"]:checked:after {
  display: block;
  position: absolute;
  top: 3px;
  left: 3px;
  content: "";
  width: 12px;
  height: 12px;
  background: #CC0000;
  -webkit-border-radius: 12px !important;
  border-radius: 12px !important;
}


/*  アイコン　設定
-------------------------- */

/* -- 矢印白文字 -- */

.btnArwWhite:before {
  position: absolute;
  -webkit-transform: rotate(45deg);
      -ms-transform: rotate(45deg);
          transform: rotate(45deg);
  border-top: 3px solid #fff;
  border-right: 3px solid #fff;
  background: none;
  width: 6px;
  height: 6px;
  margin-top: -5px;
  content: "";
}


/* 　コンテナー　設定
---------------------------------------------*/

#container {
  min-width: 0;
  background: none;
}

.boxInner {
  width: 100%;
  min-width: 0;
  max-width: 100%;
}


/*  ヘッダー 設定
---------------------------------------------*/

#header {
  width: 100%;
  height: auto;
  background-size: 100% 115px;
}

#header .boxInner {
  padding: 35px 0 0 0;
}

/* ------ ブロックスキップ ------ */

#blockskip {
  display: none;
}

/* ------ サイトロゴ ------ */

#header #sitelogo {
  float: none;
  width: auto;
  height: auto;
  padding: 15px 15px 15px;
}

#header #sitelogo img {
  max-width: 195px;
}

/* ------ ユーザーナビ ------ */

#header #usernav {
  float: none;
  width: auto;
  padding: 0;
  text-align: left;
}

#header #usernav dt,
#header #usernav dd,
#header #usernav li,
#header #usernav > div > * {
  float: none;
}

#header #usernav > div {
  display: block;
  margin-bottom: 0;
}

#header #usernav dt {
  padding: 0;
}

#header #fontsize,
#header #inverse,
#header #voice,
#header #kana {
  display: none !important;
}

/* ---- 言語切替 ---- */

#header #lang {
  position: absolute;
  top: 0;
  left: 0;
  float: none;
  width: 100%;
  height: 35px;
  padding: 5px 0 10px 4px;
  border-radius: 0;
  background: #009944;
  text-align: right;
}

#header #lang li {
  display: inline;
  padding: 0 10px;
}

#header #lang li a {
  display: inline;
  transition: none;
  min-width: 0;
  height: auto;
  padding: 0;
  background: none;
  color: #fff;
  font-size: 1.1em !important;
  font-weight: normal;
  text-align: left;
  text-decoration: underline;
}

/* -- リンク（ホバー・フォーカス時）-- */

#header #lang li a:hover,
#header #lang li a:focus {
  background: none;
}



/*  コンテンツ 設定
---------------------------------------------*/

#content {
  display: block;
  padding-bottom: 0;
  font-size: 1em !important;
}

#content img {
  max-width: 100%;
}

.boxSection {
  padding: 10px 15px;
}

/*  Content Top
-----------------------------------*/

#contentTop {
  min-width: 0;
  margin: 0;
  padding: 90px 0 10px;
}

#contentTop > .boxInner {
  padding-bottom: 38px;
  background-position: center top;
}

#content #contentTop > .boxInner {
  height: auto;
  padding-top: 0;
}

#contentTop > .boxInner {
  background-image: url(/share/imgs/kids-content-ct-bg-yama-sp.png);
  background-position: center top;
  background-size: 880px;
}

/* ---- 装飾（太陽・雲） ---- */

#content #contentTop:before,
#content #contentTop:after,
#content #contentTop > .boxInner:before,
#content #contentTop > .boxInner:after {
  display: block;
  background-size: 100%;
}

/* -- 太陽 -- */

#content #contentTop:before {  
  width: 50px;
  height: 50px;
}

#contentTop:before {
  top: 112px;
  margin-left: -200px;
}

/* -- 雲01 -- */

#content #contentTop:after {
  top: 160px;
  width: 80px;
  height: 40px;
  margin-left: -320px;
}

/* -- 雲02 -- */

#content #contentTop > .boxInner:before {
  top: -10px;
  width: 90px;
  height: 50px;
  margin-left: 290px;
}

/* -- 雲03 -- */

#content #contentTop > .boxInner:after {
  top: 10px;
  width: 90px;
  height: 50px;
  margin-left: 180px;
}

/* ---- タイトル ---- */

#contentTop #mainlogo {
}

#contentTop #mainlogo h1 {
  width: 100% !important;
  height: 100%;
  padding: 0;
  background: url(/share/imgs/kids-content-ct-ttl-sp.png) no-repeat center 32px;
  background-size: 280px;
}

#contentTop #mainlogo h1 img {
  display: none;
}

/* ---- 装飾（男の子・女の子） ---- */

#contentTop #mainlogo h1:before,
#contentTop #mainlogo h1:after {
  position: absolute;
  left: 50%;
  z-index: 2;
  background-repeat: no-repeat;
  background-size: 100%;
  content: "";
}

/* -- 男の子 -- */

#contentTop #mainlogo h1:before {
  bottom: -22px;
  width: 90px;
  height: 157px;
  margin-left: -188px;
  background-image: url(/share/imgs/kids-content-ct-bg-boy.png);
}

/* -- 女の子 -- */

#contentTop #mainlogo h1:after {
  bottom: -16px;
  width: 75px;
  height: 140px;
  margin-left: 110px;
  background-image: url(/share/imgs/kids-content-ct-bg-girl.png);
}

/* ---- 装飾（電車） ---- */

#content #contentTop #mainlogo:before,
#content #contentTop #mainlogo:after {
  -webkit-animation-duration: 26s,1.7s;
  animation-duration: 26s,1.7s;
  background-size: 100%;
}

/* -- 中央線（奥側） -- */

#content #contentTop #mainlogo:before {
  width: 108px;
  height: 22px;
  background-image: url(/share/imgs/kids-index-ct-img-train-02.png);
}

/* -- 京王線（手前側） -- */

#content #contentTop #mainlogo:after {
  width: 148px;
  height: 28px;
  background-image: url(/share/imgs/kids-index-ct-img-train-01.png);
}

/* -- 電車横移動・アニメーション設定 -- */

/* 中央線 */
@-webkit-keyframes trainchuo {
from {
    right: 100%;
  }
  to {
    right: -30%;
  }
}
@keyframes trainchuo {
from {
    right: 100%;
  }
  to {
    right: -30%;
  }
}

/* 京王線 */
@-webkit-keyframes trainkei {
from {
    left: 100%;
  }
  to {
    left: -38%;
  }
}
@keyframes trainkei {
from {
    left: 100%;
  }
  to {
    left: -38%;
  }
}

/* ---- キーワード検索 ---- */

#contentTop .boxKeywordSearch {
  padding-top: 140px;
  text-align: left;
}

#contentTop .boxSearchForm {
  float: none;
  width: 200px;
  height: auto;
  margin: 0 auto;
  padding: 0;
  background: none;
}

#contentTop .boxSearchForm:before,
#contentTop .boxSearchForm:after {
  display: none;
}

#contentTop .boxSearchFormInner {
  overflow: hidden;
  border-radius: 8px;
}

#contentTop .boxSearchForm .txtSearch {
  transition: none;
  width: 100%;
  height: 38px;
  padding: 10px 35px 10px 10px;
  line-height: 1.2em;
}

#contentTop .boxSearchForm .txtSearch:focus {
  width: 100%;
}

#contentTop .boxSearchForm .btnSearch {
  width: 35px;
  height: 100%;
  background-image: url(/share/imgs/kids-content-search-icn-btn-sp.png);
  background-size: 23px;
  background-position: 5px 7px;
}


/*  Content Main
-----------------------------------*/

#content #contentMain {
  min-width: 0;
  margin-top: -20px;
  padding-top: 20px;
  font-size: 1em !important;
}

#content #contentMain:before {
  top: 0;
  height: 20px;
}

#content #contentMain .boxInner {
  position: inherit;
}

#contentMain .boxInner {
  padding: 10px 15px 80px;
}

/* ------ サイトナビ ------ */

#content #sitenav {
  position: inherit;
  top: auto;
  left: auto;
  z-index: auto;
  width: auto;
  height: auto;
  text-align: center;
}

#content #sitenav .boxInner {
  position: inherit;
  max-width: 500px;
  height: auto;
  margin: 0 auto;
  padding: 0 0 90px;
  background: url(/share/imgs/kids-index-cm-bg-nav.png) no-repeat 98% bottom;
  background-size: 230px;
  text-align: left;
  letter-spacing: -.40em;
}

/* -- リスト -- */

#content #sitenav li {
  display: inline-block;
  *display: inline; /* IE7用 */
  *zoom: 1; /* IE7用 */
  position: inherit;
  top: auto;
  right: auto;
  left: auto;
  bottom: auto;
  width: 50%;
  height: auto;
  padding: 0 5px;
  vertical-align: top;
  letter-spacing: normal;
}

/* -- リンク -- */

#content #sitenav li a {
  display: block;
  width: 100%;
  height: 0;
  padding-bottom: 68%;
  background-repeat: no-repeat;
  background-position: 0 0;
  background-size: 100%;
}

#content #sitenav li a:before {
  display: none !important;
}

/* -- リンク内テキスト -- */

#content #sitenav li span {
  display: none !important;
}

/* ---- サイトナビ・個別設定 ---- */

/* -- 八王子ってどんなまち？ -- */

#content #sitenav .boxNavAbout a {
  background-image: url(/share/imgs/kids-content-cm-nav-icn-about-sp.png);
}

/* -- 放課後をすごす場所 -- */

#content #sitenav .boxNavHokago a {
  background-image: url(/share/imgs/kids-content-cm-nav-icn-hokago-sp.png);
}

/* -- 市役所・市議会のしごと -- */

#content #sitenav .boxNavJob a {
  background-image: url(/share/imgs/kids-content-cm-nav-icn-job-sp.png);
}

/* -- 子どもの権利となやみ相談 -- */

#content #sitenav .boxNavKenri a {
  background-image: url(/share/imgs/kids-content-cm-nav-icn-kenri-sp.png);
}

/* -- 八王子の小・中学校 -- */

#content #sitenav .boxNavSchool a {
  background-image: url(/share/imgs/kids-content-cm-nav-icn-school-sp.png);
}

/* -- 考えてみよう・まもりましょう -- */

#content #sitenav .boxNavThink a {
  background-image: url(/share/imgs/kids-content-cm-nav-icn-think-sp.png);
}

/* -- 学ぼう・知ろう体験しよう -- */

#content #sitenav .boxNavLearn a {
  background-image: url(/share/imgs/kids-content-cm-nav-icn-learn-sp.png);
}

/* -- はちおうじっ子フォトニュース -- */

#content #sitenav .boxNavNews a {
  background-image: url(/share/imgs/kids-content-cm-nav-icn-news-sp.png);
}

/* -- クイズコーナー -- */

#content #sitenav .boxNavQuiz a {
  background-image: url(/share/imgs/kids-content-cm-nav-icn-quiz-sp.png);
}


/* ------ サイトナビ（開閉） ------ */

#content #sitenav.boxNavToggel {
  position: relative;
  margin-bottom: 18px;
  padding: 7px 10px 0;
  border: 3px solid #ff6e0c;
  border-radius: 10px;
  background: #ffebcc;
  cursor: pointer;
}

#content #sitenav.boxNavToggel:before {
  display: block;
  transition: all .1s ease-in-out;
  padding: 0 10px 8px 38px;
  background: url(/share/imgs/kids-content-cm-nav-btn-open.png) no-repeat 8px 7px;
  background-size: 20px;
  color: #ff6e0c;
  font-size: 1.4em;
  font-weight: bold;
  text-align: left;
  content: "メニューをひらく";
}

#content #sitenav.boxNavToggel.active:before {
  background-image: url(/share/imgs/kids-content-cm-nav-btn-close.png);
  content: "メニューをとじる";
}

#content #sitenav.boxNavToggel ul {
  display: none;
  padding: 5px 0 !important;
  background: none;
}

#content #sitenav.boxNavToggel li {
}


/*  Content Bottom
-----------------------------------*/

#contentBtm {
  font-size: 1em !important;
}


/*  2カラム 設定
-----------------------------------*/

#main,
#side {
  float: none !important;
  width: 100% !important;
  min-width: 0 !important;
  max-width: 100% !important;
}


/*  フッター 設定
---------------------------------------------*/

#footer {
  background: none;
  font-size: 1em !important;
}

#footerTop:before {
  top: -10px;
  background-size: 320px;
}

/* -------- フッター上部 -------- */

#footerTop { 
}

#footerTop .boxInner {
  padding: 25px 15px 20px !important;
}

/* ---- 表示切替 ---- */

/* -- PCボタン -- */

#footer #displayswitch #switch-pc {
  border: 2px solid rgba(255,255,255,.4) !important;
  background: none !important;
}

#footer #displayswitch #switch-pc span {
  text-decoration: underline !important;
}

/* -- スマホボタン -- */

#footer #displayswitch #switch-sp {
  border-color: transparent !important;
  background: rgba(255,255,255,.3) !important;
}

#footer #displayswitch #switch-sp span {
  text-decoration: none !important;
}

/* ---- アドレス ---- */

#footer .boxAddress {
  font-size: 1em;
  line-height: 1.43em;
}

/* -- タイトル -- */

#footer .boxAddress > dl > dt {
  margin-bottom: 10px;
}

/* -- 内容 -- */

#footer .boxAddress > dl > dd {
}

#footer .boxAddress > dl > dd p {
  margin-bottom: 5px;
}

#footer .boxAddress > dl > dd a {
  display: inline-block;
  *display: inline; /* IE7用 */
  *zoom: 1; /* IE7用 */
  margin-top: 5px;
}

#footer .boxAddress > dl > dd li {
  display: block;
  padding: 0;
}

/* -------- フッター下部 -------- */

#footerBtm {
}

/* ---- コピーライト ---- */

#footer #copyright {
  height: auto !important;
  padding: 15px 0 !important;
  font-size: .88em;
}

/* ------ ページトップ ------ */

#footer #pagetop {
  display: block;
  top: -270px;
  right: 10px;
  margin-left: 0;
}

/* -- ページトップ・固定 -- */

#footer #pagetop.fxd {
  position: fixed;
  bottom: 10px;
}

/* -- リンク -- */

#footer #pagetop a {
  width: 60px;
  height: 85px;
  background-size: 100%;
}