/* ======================================== */
/* DOBLOG-107 【パンくず機能】サイドメニュー設定機能 */
/* ======================================== */

#side .navbox.cate h2 {
  margin-top: 20px;
  margin-bottom: 0;
}
#side .navbox.cate h3 {
   background: #666666; /* 背景色 */
   border-left: 5px solid #000000; /* 左罫線 */
   color: #ffffff; /* 文字色 */
   /*font-weight: bold; */
   padding: 2px 2px 2px 8px;
   margin-top: 20px; /*余白（上）*/
}
#side .cate ul {
  margin: 0;
}
#side .cate > ul > li {
  padding-left: 0 !important;
}
#side .cate ul li {
  font-weight: normal;
  margin-bottom: 0;
}
#side .cate ul li a {
  border-bottom: 1px dashed #ccc;
  display: block;
  padding: 16px;
  padding-right: 0;
  font-weight: bold;
}
#side .cate ul li a:after {
  border-top: 1px solid #333;
  border-right: 1px solid #333;
  content: "";
  height: 6px;
  width: 6px;
  transform: rotate(45deg);
  display: inline-block;
  margin-right: 7px;
  margin-bottom: 3px;
  position: absolute;
  left: 0;
  top: 20px;
}
#side .cate ul li a.parent_link {
 border-bottom: none;
 width: calc(100% - 40px);
 margin-left: 0;
 padding: 0;
}
#side .cate ul li a.parent_link:after {
 content: none;
}
/* 開閉アイコン */
#side .cate ul li .hitarea {
  background: #fff;
  border-radius: 100%;
  height: 20px;
  position: absolute;
  text-align: center;
  width: 20px;
  top: 8px;
  left: auto;
  right: 10px;
}
#side .cate ul li .hitarea:after {
  background: url(/common/img/minus_gray.png) center center no-repeat; /* +-画像 */
  background-size: 20px;
  height: 20px;
  width: 20px;
  color: #999;
  content: "";
  display: inline-block;
  font-weight: bold;
  line-height: 1;
  vertical-align: middle;
}

#side .cate ul li.expandable .hitarea:after {
  background: url(/common/img/plus_gray.png) center center no-repeat; /* +-画像 */
  background-size: 20px;
  content: "";
  height: 20px;
  width: 20px;
}

/* 親カテゴリ */
#side .cate ul li span {
/*  background: #f5f5f5;*/
  background: #eee;
  border-bottom: 1px solid #ccc; 
  display: block;
  font-weight: bold;
  margin-top: 20px;
  margin-bottom: 2px;
  margin-left: 0;
  padding: 12px 35px 10px 8px;
}
/* 親カテゴリのみ */
#side .cate > ul > li > a {
/*  background: #f5f5f5;*/
  background: #eee;
  border-bottom: 1px solid #ccc;
  font-weight: bold;
  margin-top: 20px;
  margin-left: 0;
  padding: 12px 35px 10px 8px;
}

#side .cate > ul > li > a:before {
  background: #ccc;
  border-radius: 100%;
  content: "";
  height: 20px;
  left: auto;
  position: absolute;
  right: 10px;
  text-align: center;
  top: 9px;
  width: 20px;
}
#side .cate > ul > li > a:after {
  border-color: #fff;
  border-width: 2px;
  left: auto;
  right: 10px;
  top: 15px;
}
/* 2階層目 */
#side .cate ul ul {
  margin: 0;
}
#side .cate ul ul li {
  font-size: 14px;
  margin-bottom: 0;
  padding-left: 0;
}
#side .cate ul ul li:before {
  display: none;
}


/* ＋－を画像に変更 */
@media screen and (max-width: 768px) {
  nav#gnav #sub_menu > li:before {
    display: none;
  }
  nav#gnav #sub_menu > li:after {
    background: url(/common/img/plus_gray.png) center center no-repeat; /* +-画像 */
    background-size: 20px;
    content: "" !important;
    height: 20px;
    width: 20px;
    top: 15px;
  }
  nav#gnav #sub_menu > li.active:after {
    background-image: url(/common/img/minus_gray.png); /* +-画像 */
  }

  #side .cate ul li .hitarea {
    background: url(/common/img/minus_gray.png) center center no-repeat; /* +-画像 */
    background-size: 20px;
    height: 20px;
    width: 20px;
  }
  #side .cate ul li.expandable .hitarea {
    background-image: url(/common/img/plus_gray.png); /* +-画像 */
  }
  #side .cate ul li .hitarea:after,
  #side .cate ul li.expandable .hitarea:after {
    display: none;
  }
}


/* ======================================== */
/* DOBLOG-99 【ブログレイアウト改修】スマホ側＿ヘッダーメニュー改修 */
/* ======================================== */
@media screen and (max-width: 485px) {
  header #header_top_area {
    display: block;
  }
  header.fixed #header_top_area {
    display: none;
  }
}

/* ======================================== */
/* DOBLOG-100 【ブログレイアウト改修】スマホ側＿カテゴリ一覧改修 */
/* ======================================== */
@media screen and (max-width: 769px) {
  #side .cate ul {
    margin: 0;
  }
  #side .cate > ul > li {
    padding-left: 0 !important;
  }
  #side .cate ul li {
    font-weight: normal;
    margin-bottom: 0;
  }
  #side .cate ul li a {
    border-bottom: 1px dashed #ccc;
    display: block;
    padding: 16px;
    padding-right: 0;
  }
  #side .cate ul li a:after {
    border-top: 1px solid #333;
    border-right: 1px solid #333;
    content: "";
    height: 6px;
    width: 6px;
    transform: rotate(45deg);
    display: inline-block;
    margin-right: 7px;
    margin-bottom: 3px;
    position: absolute;
    left: 0;
    top: 20px;
  }
  /* 開閉アイコン */
  /* #side .cate ul li .hitarea {
    background: #fff;
    border-radius: 100%;
    height: 20px;
    position: absolute;
    text-align: center;
    width: 20px;
    top: 8px;
    left: auto;
    right: 10px;
  } */
  /* #side .cate ul li .hitarea:after {
    color: #999;
    content: "-";
    display: inline-block;
    font-weight: bold;
    line-height: 1;
    vertical-align: middle;
  } */
  /* #side .cate ul li.expandable .hitarea {
    top: 10px;
  } */
  #side .cate ul li.expandable .hitarea:after {
    /*transform: rotate(135deg);*/
    content: "+";
  }
  /* 親カテゴリ */
  #side .cate ul li span {
/*  background: #f5f5f5;*/
    background: #eee;
    border-bottom: 1px solid #333;
    display: block;
    font-weight: bold;
    margin-top: 20px;
    margin-bottom: 2px;
    margin-left: 0;
    padding: 12px 8px 10px;
  }
  /* 親カテゴリのみ */
  #side .cate > ul > li > a {
/*  background: #f5f5f5;*/
    background: #eee;
    border-bottom: 1px solid #333;
    font-weight: bold;
    margin-top: 20px;
    margin-left: 0;
    padding: 12px 8px;
  }
  #side .cate > ul > li > a:before {
    background: #ccc;
    border-radius: 100%;
    content: "";
    height: 20px;
    left: auto;
    position: absolute;
    right: 10px;
    text-align: center;
    top: 9px;
    width: 20px;
  }
  #side .cate > ul > li > a:after {
    border-color: #fff;
    border-width: 2px;
    left: auto;
    right: 10px;
    top: 15px;
  }
  /* ２階層 */
  #side .cate ul ul {
    margin: 0;
  }
  #side .cate ul ul li {
    font-size: 14px;
    margin-bottom: 0;
    padding-left: 0;
  }
  #side .cate ul ul li:before {
    display: none;
  }
}


/* ======================================== */
/* DOBLOG-95 ヘッダーに検索・ハンバーガーメニュー */
/* ======================================== */

/* ヘッダー上固定 ---------- */
header {
  position: relative;
  z-index: 10;
}

/* アイコン追加 ---------- */
#sp-icons {
  display: none;
}
/* お問い合わせ表示枠 ---------- */
#contact_box {
  display: none;
}
/* 検索表示枠 ---------- */
nav#gnav .search_form,
nav#gnav .search_form2 {
  display: none;
}
/* メニュー追加 ---------- */
nav#gnav #sub_menu>li.sub_menu_top,
#gnav_box .gnav_mail {
  display: none;
}

@media screen and (min-width: 769px) {
  /* header.fixed {
    display: none;
    height: 0;
  } */
  nav#gnav #sub_menu li.sp_menu_label {
    display: none;
  }
}

@media screen and (max-width: 768px) {
  /* ヘッダーのコンテンツ非表示 ---------- */
  header #header #header_contact {
    display: none;
  }
  /* ヘッダー上固定 ---------- */
  nav#gnav {
    position: fixed;
  }
  header .gnav_bg {
    background: #000;
    content: "";
    cursor: pointer;
    width: 100%;
    height: 100vh;
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    opacity: 0.6;
    z-index: -1;
  }

  /* ヘッダーのロゴサイズ調整 ---------- */
  header #header #header_info {
    margin-left: 0;
    max-width: calc(100% - 140px);
  }
  header #header #header_info a {
    background-size: contain;
    max-width: 100%;
  }
  /* アイコン追加 ---------- */
  #header_area {
    position: relative;
  }
  #sp-icons {
    display: block;
    position: absolute;
    top: 13px;
    right: 5px;
  }
  #sp-icons ul {
    display: flex;
    width: 100%;
  }
  #sp-icons ul li {
    color: #113a58;
    cursor: pointer;
    font-size: 10px;
    letter-spacing: 0;
    margin: 0 3px;
    text-align: center;
  }
  #sp-icons ul li#toggle_contact {
      width: 40px;
  }
  #sp-icons ul li#toggle_search {
      width: 35px;
  }
    #sp-icons ul li#toggle_menu {
      width: 40px;
    }
  #sp-icons ul li i {
    display: block;
    font-size: 26px;
    margin: auto;
  }
  #sp-icons ul li .close {
    display: none;
  }
  #sp-icons .jq_sp-icons.open {
    color: #555;
  }
  #sp-icons .jq_sp-icons.open i{
    display: block;
    height: 26px;
    overflow: hidden;
    width: 26px;
  }
  #sp-icons .jq_sp-icons.open a {
    display: block;
    overflow: hidden;
  }
  #sp-icons .jq_sp-icons.open i:before,
  #sp-icons .jq_sp-icons.open a:before,
  #sp-icons .jq_sp-icons.open i:after,
  #sp-icons .jq_sp-icons.open a:after {
    background: #666;
    content: "";
    cursor: pointer;
    display: block;
    height: 4px;
    margin: auto;
    position: absolute;
    top: 12px;
    transform: rotate(45deg);
    width: 24px;
  }
  #sp-icons .jq_sp-icons.open a:before,
  #sp-icons .jq_sp-icons.open a:after {
    top: 9px;
  }
  #sp-icons .jq_sp-icons.open i:before,
  #sp-icons .jq_sp-icons.open a:before {
    border: none;
    top: 0;
    transform: translateY(9px) rotate(-45deg);
  }
  #sp-icons .jq_sp-icons.open i:before {
    top: 3px;
  }
  #sp-icons .jq_sp-icons.open span {
    display: none;
  }
  #sp-icons .jq_sp-icons.open .close {
    display: inline-block;
  }

  /*  */
  #toggle {
    display: none;
  }
  #toggle_menu a {
    display: block;
    height: 24px;
    margin: 2px auto 0;
    overflow: hidden;
    position: relative;
    width: 24px;
  }
  #toggle_menu a:before {
    border: 4px solid #113a58;
    border-right: none;
    border-left: none;
    content: "";
    display: block;
    height: calc(24px - 10px);
    margin: auto;
    position: absolute;
    top: 0px;
    width: 24px;
  }
  #toggle_menu a:after {
    background: #113a58;
    content: "";
    cursor: pointer;
    display: block;
    height: 4px;
    position: absolute;
    top: 9px;
    width: 24px;
  }

  /* 共通表示枠 ---------- */
  nav#gnav {
    background: #fff;
    overflow: hidden;
    /* overflow-y: scroll; */
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    overflow-scrolling: touch;
  }
  nav#gnav #contact_box,
  nav#gnav > .search_form,
  nav#gnav #gnav_box {
    height: 100%;
    overflow-y: auto;
  }
  nav#gnav #contact_box,
  nav#gnav #gnav_box {
    padding-bottom: 60px;
  }
  /* お問い合わせ表示枠 ---------- */
  #contact_box {
    padding: 20px 10px;
  }
  #contact_box h1 {
    border-left: 5px solid #3f5d77;
	color: #666;
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 20px;
    padding-left: 40px;
    background: url(/img/search@2x.png) 10px top no-repeat;
    background-size: 26px 26px;
  }
  #contact_box h2 {
    border-left: 5px solid #3f5d77;
	color: #3f5d77;
    font-size: 14px;
    font-weight: bold;
    margin-bottom: 20px;
    padding-left: 10px;
  }
  #contact_box h3 {
    font-size: 12px;
    font-weight: bold;
    margin-bottom: 10px;
    padding-left: 20px;
    position: relative;
  }
  #contact_box h3:before {
    background: #3f5d77;
    border: solid 2px #fff;
    border-radius: 100%;
    box-shadow: 0 0 0 2px #3f5d77;
    content: "";
    display: inline-block;
    height: 8px;
    left: 0;
    position: absolute;
    top: 2px;
    width: 8px;
  }
  #contact_box hr {
    border: none;
    border-top: 1px dashed #333;
    margin-bottom: 20px;
  }
  #contact_box a {
    text-decoration: underline;
  }
  #contact_box .number {
    font-weight: bold;
    line-height: 1.6;
    margin-bottom: 20px;
    font-size: 24px;
  }
  #contact_box .number strong {
    font-size: 20px;
  }
  #contact_box .header_mail {
    background: #333;
    border-radius: 3px;
    color: #fff;
    display: block;
    padding: 25px 10px;
    margin: 20px 0;
    text-align: center;
    text-decoration: none;
  }
  /* 検索表示枠 ---------- */
  nav#gnav .search_form,
  nav#gnav .search_form2 {
    box-sizing: border-box;
    padding: 20px 10px;
  }
  nav#gnav .search_form2 {
    border-bottom: 1px solid #eee;
    display: block;
  }
  nav#gnav .search_form *,
  nav#gnav .search_form2 * {
    box-sizing: border-box;
  }
  nav#gnav .search_form form,
  nav#gnav .search_form2 form {
    position: relative;
  }
  nav#gnav .search_form input[type=text],
  nav#gnav .search_form2 input[type=text] {
    -webkit-appearance: none;
    background: #fff;
    border: 1px solid #ccc;
    border-radius: 0;
    font-size: 16px;
    padding: 5px;
    padding-right: 30px;
    vertical-align: middle;
    width: 100%;
  }
  nav#gnav .search_form input[type=submit],
  nav#gnav .search_form2 input[type=submit] {
    -webkit-appearance: none;
    background: url(http://test.do-blog.jp/common/img/search@2x.png) center center no-repeat;
    background-size: 12px;
    border: none;
    color: transparent;
    height: 30px;
    position: absolute;
    right: 0;
    bottom: 0;
    margin: auto;
    top: 0;
    transform: scale(-1, 1);
    width: 30px;
  }
  /* メニュー表示枠 ---------- */
  #gnav_box {
    max-height: none !important;
    padding-bottom: 10px;
    z-index: 30;
  }
  nav#gnav ul li a {
    padding: 20px 20px 15px 10px;
    width: 100%;
  }
  /**/
  nav#gnav #sub_menu ul, 
  nav#gnav #sub_menu>li:hover,
  nav#gnav #sub_menu>li.active, 
  nav#gnav #sub_menu>li.active.only:hover,
  nav#gnav #sub_menu_area, 
  nav#gnav #sub_menu > li.active.only {
    background: none;
    color: #333;
  }
  nav#gnav #sub_menu li {
    color: #333;
  }
  nav#gnav #sub_menu>li {
    border-bottom: 1px solid #ddd;
  }
  /*ヘッダーメニューリンク-*/
  nav#gnav #sub_menu>li>a {
    border-right: 1px solid #eee;
    width: calc(100% - 90px);
  }
  nav#gnav #sub_menu>li.only>a {
    width: 100%;
  }
  
  nav#gnav #sub_menu ul {
    border-top: 1.5px solid #ccc;
    border-bottom: 1.5px solid #ccc;
    padding: 0 0 0 20px;
    width: calc(100% - 20px);
  }
  nav#gnav #sub_menu ul li {
    font-weight: normal;
    border-top: 1px dashed #ccc;
  }
  nav#gnav #sub_menu ul li:nth-child(1) {
    border-top: none;
  }
  nav#gnav #sub_menu ul li a {
    margin-left: 0;
    padding: 20px 20px 15px 10px;
  }
  nav#gnav #sub_menu ul li:nth-child(1) a {
    border-top: none important!;
    padding-top: 20px;
  }
  nav#gnav #sub_menu ul li:nth-last-child(1) a {
    padding-bottom: 20px;
  }

/*  nav#gnav #sub_menu ul li:hover, 
  nav#gnav #sub_menu ul li a:hover {
    background-color: #e5e5e5;
  }
  nav#gnav #sub_menu li:hover {
    background-color: #f0f0f0;
  }
*/
  /* 開閉(+-)ボタン */
  nav#gnav #sub_menu>li:before {
    background: #ccc;
    border: none;
    border-radius: 100%;
    content: "";
    height: 25px;
    overflow: hidden;
    position: absolute;
    width: 25px;
    top: 13px !important;
    right: 17px;
  }
  nav#gnav #sub_menu>li:after {
    color: #fff;
    content: "+";
    height: 20px;
    position: absolute;
    text-align: center;
    width: 20px;
    top: 16px;
    right: 19px;
    font-size: 16px;
  }
  nav#gnav #sub_menu>li.active:after {
    content: "-";
    font-size: 18px;
  }
  nav#gnav #sub_menu>li.only:after {
    display: none;
  }

  /**/
  nav#gnav #cate_menu_area {
    background: #fff;
  }
  nav#gnav #cate_menu li {
    border-bottom: 1px solid #ddd;
    color: #333;
  }

  nav#gnav #cate_menu li:hover, 
  nav#gnav #cate_menu li a:hover {
/*    background-color: #f0f0f0;*/
  }

  /* スマホのみ表示するラベル */
  nav#gnav #sub_menu li.sp_menu_label {
    background: #777 !important;
    color: #fff !important;
    padding: 5px;
  }

  /* メニュー追加 ---------- */
  /* トップ */
  nav#gnav #sub_menu>li.sub_menu_top {
    display: block;
  }
  /* お問い合わせ */
  #gnav_box .gnav_mail {
    border: 1px solid #333;
    border-radius: 3px;
    display: block;
    margin: 20px 10px;
    padding: 10px;
    padding-left: 10px;
    text-align: center;
  }
#contact_box p span.fs_1{
   font-size: 10px
}

}

/* ======================================== */
/* DOBLOG- パンくずデフォルトOPEN */
@media screen and (max-width: 769px) {
 #toggle_rap_top {
   margin-top: 20px;
 }
}

@media screen and (max-width: 485px){
 #rap_top {
   margin-top: 10px;
 }
}

/*親カテゴリにリンクをつける場合*/
#side .cate ul li span.relative  {
 padding: 0;
}
#side .cate ul li span.relative a {
 width: calc(100% - 60px);
 border-bottom: none;
 border-right: 1px solid #ccc;
 margin-left: 0;
 padding: 12px 8px 10px;
}
#side .cate ul li span.relative a:after {
 content: none;
}