@charset "UTF-8";

@media screen and (max-width: 667px) {


.fig_pc {
  display: none;
}
  
#content article {
  width: 100% ;
}
  
#content p{
  line-height: 1.5;
  text-align: left;
}
  
#content .lead{
  padding: 0 1rem;
}
  
#content .side_menu {
  margin: 0 .5rem .5rem;
}
  
#main_img_area {
  background: transparent url("/useful/shrine_buddha/image/head_bg.png") no-repeat center 0 ;
}

.container {
  margin: 0 auto;
  max-width: 667px;
  padding:0 0.5rem;
  position: relative;
  width: 100%;
}

.container h2 img {
  width: 100%;
}

/* 下部ボタンのセンター */
.bottom_box .main_category {
  border-top: .08rem solid #ffa5c9;
  font-weight: bold;
  margin: 2rem auto 0;
  padding: 0 0 0;
  text-align: center;
}

#content .bottom_box .main_category p {
  line-height: 1.2;
  margin: .8rem 0;
  text-align: center;
}

.bottom_box .main_category .category_search {
  display: inline-block;
  padding: 0;
  /*position: relative;*/
  margin: 0 auto 0;
  text-decoration: none;
}

.category_search a {
  background: #297ed4;
  background: -moz-linear-gradient(top, #297ed4 0%, #2574c4 100%);
  background: -webkit-linear-gradient(top, #297ed4 0%,#2574c4 100%);
  background: linear-gradient(to bottom, #297ed4 0%,#2574c4 100%);
  border: .06rem solid #125394;
  border-radius: .2rem;
  box-shadow: 0 .1rem .16rem .1rem rgba(225,220,211,0.5);
  box-sizing:border-box;
  color: #fff;
  display: inline-block;
  font-size:1.8rem;
  font-weight:bold;
  height: 3.2rem;
  letter-spacing: 0.03em;
  line-height: 3.2rem;
  padding: 0 .8rem;
  position: relative;
  text-align: center;
}

.category_search a::before {
  background: url(/useful/image_cmn/bg_category_search_left.png) no-repeat bottom left;
  bottom: .06rem;
  content: "";
  height: 1.2rem;
  left: .6rem;
  position: absolute;
  width: 2.8rem;
}

.category_search a::after {
  background: url(/useful/image_cmn/bg_category_search_right.png) no-repeat bottom right;
  bottom: .06rem;
  content: "";
  height: 1.2rem;
  position: absolute;
  right: .6rem;
  width: 2.8rem;
}

.category_search img {
  border: 0;
  display: inline;
  margin-right: .2rem;
  vertical-align: -0.2rem;
  width: auto;
}

.bottom_box .related_link {
  border: .06rem solid #f08ba2;
  clear: both;
  font-size: .8rem;
  margin: 1rem .4rem 2rem;
  overflow: hidden;
}
.bottom_box .related_link>p {
  background: #fbd5da;
  font-weight: bold;
  letter-spacing: .15em;
  margin: 0 0 .7rem 0;
  padding: .4rem 0 .4rem .6rem;
  text-align: left;
}

.bottom_box .related_link dl {
  margin: 0 .4rem .4rem .6rem;
  overflow: hidden;
}

.bottom_box .related_link dt {
  color: #555;
  float: left;
  font-size: .8rem;
  margin: .2rem 0 .3rem .0;
  text-align: left;
}

.bottom_box .related_link dd {
  background: url("/useful/shrine_buddha/image/list_mark.gif") no-repeat .05rem .23rem transparent;
  background-size: .6rem;
  color: #888;
  float: left;
  font-size: .9rem;
  font-weight: bold;
  margin: .2rem .2rem .5rem .0;
  padding: 0 .2rem 0 1rem;
  text-align: left;
}

*>.mo_box p {
  color: #666;
  font-size: .7rem;
  letter-spacing: .05em;
  line-height: 1.6;
  margin: 0;
  padding: 0;
}
*>.mo_box p span {
  font-size: .8rem;
  font-style: normal;
  font-weight: bold;
}
  
  
/*--------------------------------
	ページ送り＆ページジャンプ
--------------------------------*/

.page_skip {
  font-size: .8rem;
  letter-spacing: 0;
  margin: 0 0 1.2rem;
  padding-bottom: 0.5rem;
  position: relative;
  text-align: center;
  width: 100%;
}

.page_skip_ul {
  position: relative;
}

.page_nav_ul{
  padding-top: 2.5rem;
}

.page_skip_ul li,
.page_nav_ul li,
.page_nav_ul02 li {
  display: inline-block;
  vertical-align: top;
}

.page_count_box {
  border-radius: .2rem;
  background: #9e7d0e;
  color: #fff;
  height: 2rem;
  letter-spacing: .01em;
  line-height: 2rem;
  margin: 0;
  padding: 0;
  width: 1.7rem;
}

.page_count_box a {
  background: #fff;
  border: .06rem solid #9e7d0e;
  border-radius: .2rem;
  color: #4250dc;
  display: block;
  height: 2rem;
  letter-spacing: .01em;
  line-height: 2rem;
}

.page_count_box a {
  display: block;
  height: 100%;
  width: 100%;
}

.page_nav_ul li.p_toback,
.page_nav_ul li.p_tonext,
.page_nav_ul li.p_toback_gr,
.page_nav_ul li.p_tonext_gr {
  position: absolute;
  top: 0;
}
.page_nav_ul li.p_toback,
.page_nav_ul li.p_toback_gr{
  left: 1.4rem;
}

.page_nav_ul li.p_tonext,
.page_nav_ul li.p_tonext_gr{
  right: 1.4rem;
}

.p_toback,
.p_tonext {
  border: .06rem solid #9e7d0e;
  border-radius: .2rem;
  color: #1d558d;
  line-height: 2rem;
}

.p_toback a,
.p_tonext a {
  color: #4250dc;
  display: block;
  width: 5rem;
}
  
.p_toback_gr,
.p_tonext_gr {
  background: #ccc;
  border-radius: .2rem;
  color: #8e8e8e;
  line-height: 2rem;
  width: 5rem;
}

.page_select {
  padding-top: 2.2rem;
  position: absolute;
  right: .5rem;
}
  
.page_select_ttl {
  background: url("/useful/shrine_buddha/image/bg_select_bottom.png") no-repeat right center;
  background-size: auto 100%;
  border-radius: .2rem;
  color: #1d558d;
  cursor: pointer;
  display: block;
  position: relative;
  text-align: left;
  width: 11rem;
}
.page_select_ttl span {
  border: .06rem solid #9e7d0e;
  border-radius: .2rem;
  color: #414141;
  cursor: pointer;
  display: block;
  line-height:2rem;
  height: 2rem;
  padding: 0 0 0 .4rem;
  position: relative;
  text-align: left;
  width: 11rem;
}
.page_select_ttl_hover {
  background: url("/useful/shrine_buddha/image/bg_select_bottom_on.png")#fff no-repeat right center;
  background-size: auto 100%;
  color: #1d558d;
}

.page_select_ttl_hover span {
  border-radius: .2rem .2rem 0 0 / .2rem .2rem 0 0;
  border-bottom: .06rem dotted #9e7d0e;
}
  
.page_select_menu {
  border-bottom: .06rem solid #9e7d0e;
  border-left: .06rem solid #9e7d0e;
  border-right: .06rem solid #9e7d0e;
  color: #1d558d;
  left: 0;
  line-height: 2rem;
  max-height: 50vh;
  overflow-x: hidden;
  overflow-y: scroll;
  position: relative;
  text-align: left;
  width: 11rem;
  z-index: 1000;
}
  
.page_select_menu ul {
  text-indent: .5rem;
  width: 11rem;
}
.page_select_menu li {
  background: #fff;
  border-bottom: .06rem dotted #9e7d0e;
}
.page_select_menu li.first_list {
  margin-left: -.5rem;
}
.page_select_menu .li_last {
  border-bottom: none;
  margin-left: -.5rem;
  padding-left: .5rem;
}
.page_select_menu a {
  display: block;
  width: 11rem;
}
.page_select_menu a:hover {
  background: #ffe6eb;
}
.page_select_menu::-webkit-scrollbar {
  width: .4rem;
}

.page_select_menu::-webkit-scrollbar-track {
  background: rgba(200, 200, 200, 1);
}

.page_select_menu::-webkit-scrollbar-thumb {
  background: rgba(210, 190, 120, 1);
}

.page_select_menu::-webkit-scrollbar-thumb:window-inactive {
  background: rgba(210, 190, 120, 1);
}

/* ---------- 下層ページ用 --------- */
#content {
  margin: 0 auto;
  overflow: hidden;
  width: 100%;
}

#content .side_menu h2 {
  margin: 0 auto .4rem;
}

#content .side_menu h3 {
  line-height: 0;
  margin: 0rem;
}

#content .side_menu ul {
  margin: 0 0 2rem;
  text-align: left;
}

#content .side_menu nav ul li {
  border-bottom: .06rem dashed #acacac;
}

#content .side_menu ul li a {
  display: block;
  padding: .9rem .8rem .9rem 1.2rem;
  text-indent: -.2rem;
}

#content .side_menu .list_jinja li a:before {
  content: url("/useful/shrine_buddha/image/ico_aside_001.png");
  margin: 0 .5rem 0 0;
}

#content .side_menu .list_buddha li a:before {
  content: url("/useful/shrine_buddha/image/ico_aside_002.png");
  margin: 0 .5rem 0 0;
}

#content .side_menu .list_story li a:before {
  content: url("/useful/shrine_buddha/image/ico_aside_003.png");
  margin: 0 .5rem 0 0;
}

#content article section {
  margin: 0 0 2rem;
}

#content article h2 {
  margin: 0;
}

.ex_list,
.ox_list{
  margin-left: 20px;
  text-align: left;
}

.ex_list li {
  line-height: 1.7;
  list-style: disc;
  margin-bottom: 10px;
}


.ox_list li {
  line-height: 1.7;
  list-style: decimal;
  margin-bottom: 10px;
}


/*----------- .side_menu current表示 -----------*/

.jinja_style .side_menu .sp_bnr .sp_bnr01,
.jinja_style .side_menu .list_buddha,
.jinja_style .side_menu .list_story,
.story_style .side_menu .sp_bnr .sp_bnr03,
.story_style .side_menu .list_buddha,
.story_style .side_menu .list_jinja,
.buddha_style .side_menu .sp_bnr .sp_bnr02,
.buddha_style .side_menu .list_jinja,
.buddha_style .side_menu .list_story{
  display: none;
}

.list_jinja li:hover,
.list_buddha li:hover,
.list_story li:hover {
  background: #fffcda;
}

.list_jinja li.active a {
  background: #fcebfb;
}

.list_buddha li.active a {
  background: #e6f6f7;
}

.list_story li.active a {
  background: #e5f7d5;
}
  
#content article .entry,
#content article .entry02{
  margin: 0 auto 1.2rem;
  padding: 0 .4rem;
  width: 100%;
}

#content article .entry02:last-child{
  margin: 0 auto;
  }

#content article .entry figure,
#content article .entry02 figure {
  width: 100%;
  margin: 0 auto 1rem;
}

#content article .entry > p,
#content article .entry02 > p{
  margin: 0 0 1.2rem;
}

#content article .entry > p:last-child {
  margin: 0;
}


/*#content article .entry.illust_left>p {
  margin-bottom: 0;
}*/
  
.side_menu .sp_bnr {
  display: flex;
  justify-content: space-between;
}

.bnr_box,
.bottom_box {
  float: none;
  margin: 0 auto;
  width: 100%;
}

#content .side_menu .sp_bnr li {
  width: 48%;
}
  
#content .side_menu .sp_bnr li a {
  padding: 0;
  text-indent: 0;
}
  
/*-------------------------------------------
フォントサイズ変更
-------------------------------------------*/

#font_size_change {
  border-bottom: .08rem solid #148ec6;
  color: #148ec6;
  display: flex;
  -webkit-justify-content: flex-end;
  justify-content: flex-end;
  -webkit-align-items: flex-end;
  align-items: flex-end;
  margin-left: auto;
  margin-right: .6rem;
  margin-bottom: 1rem;
  padding-bottom: .4rem;
  max-width: 13.6rem;
}
  
#font_size_change p{
  font-size: 1rem;
  font-weight: 800;
  line-height: 1.1rem;
  margin: 0 auto 0 0 ;
}

#control_wrap {
  -webkit-align-items: flex-end;
  align-items: flex-end;
  color: #fff;
  display: flex;
  max-width: 9.375em;
  margin-left: 1rem;
}

#control_wrap li {
  background: #89c6e2;
  cursor: pointer;
  font-weight: 800;
  margin: 0 0 0 0.55em;
  overflow: hidden;
  text-align: center;
}

#control_wrap li.active{
  background: #148ec6;
  overflow: hidden;
}

#font_s {
  height: 1.66em;
  line-height: 1.66em;
  width: 1.66em;
}

#font_m {
  height: 1.94em;
  line-height: 1.94em;
  width: 1.94em;
}

#font_l {
  height: 2.2em;
  line-height: 2.2em;
  width: 2.2em;
}

#font_s .txt {
  font-size: .9rem;
}

#font_m .txt {
  font-size: 1.1rem;
}

#font_l .txt {
  font-size: 1.35rem;
}

.js_font_cng {}

.js_font_cng.l_size {
  font-size: -webkit-calc(1em + .2rem) !important;
  font-size: calc(1em + .2rem) !important;
}

.js_font_cng.s_size {
  font-size: -webkit-calc(1em - .14rem) !important;
  font-size: calc(1em - .14rem) !important;
}
  
.appeal_box h3{
    margin-bottom: 0;
}
  
}