/****

media query

***/
@media (max-width:1600px) {
	.about .all2_main_text { width:480px; height:400px; }
	/*.pray .all2_main_text { width: 130px; height: 400px; }*/
	.all_img_text_text { height:400px; }
	.subpage .all_img_text_text { height:400px; }
	.history_hideyoshi.all_img_text_left .all_img_text_img_section,.history_saigoku.all_img_text_left .all_img_text_img_section{ text-align:right; }
	.all_img_text_text_section { max-width:65%; }
	.anzan_haraobi .all_img_text_text_section { max-width:50%; }
	.all_img_text_img_section { width:30%; }
	.anzan_haraobi .all_img_text_img_section { width:45%; }
	.anzan_haraobi .all_img_text_img_section img { -webkit-transform:translate(0,10%); -moz-transform:translate(0,10%); transform:translate(0,10%);}
	.all_img_text li:nth-child(n+2) { margin-top:80px; }
	.all_pray_footer_menu { margin: 60px auto; max-width: 600px; }
	.all_pray_footer_menu li:nth-child(3n) { margin-right: 0; margin-bottom: 20px; }
	.all_dotogaran_img_text img { display:none; }
	.all_movie_banner {
		background-size: 20%, 25%; 
	}
	.hondo_img_story1 { background:url(../images/hondo_img_story1.png) no-repeat left center; background-size:auto 100%; }
	.hondo_img_story2 { background:url(../images/hondo_img_story2.png) no-repeat right center; background-size:auto 100%; }
	.sanmon_img_story1 { background:url(../images/sanmon_img_story1.png) no-repeat left center; background-size:auto 100%; }
	.sanmon_img_story2 { background:url(../images/sanmon_img_story2.png) no-repeat right center; background-size:auto 100%; }
	.sanmon_img_story3 { background:url(../images/sanmon_img_story3.png) no-repeat left center; background-size:auto 100%; }
	.gojunoto_img_story1 { background:url(../images/gojunoto_img_story1.png) no-repeat left center; background-size:auto 100%; }
	.gojunoto_img_story2 { background:url(../images/gojunoto_img_story2.png) no-repeat right center; background-size:auto 100%; }
	.okunoin_img_story1 { background:url(../images/okunoin_img_story1.png) no-repeat left center; background-size:auto 100%; }
	.okunoin_img_story2 { background:url(../images/okunoin_img_story2.png) no-repeat right center; background-size:auto 100%; }
	.okunoin_img_story3 { background:url(../images/okunoin_img_story3.png) no-repeat left center; background-size:auto 100%; }
	/*hoshikudari*/
	.hoshikudari_video { width:auto; height:100%; }
	.setsubun .hoshikudari_video { width: 100%; height: auto; }
}
@media (max-width:1520px) {
	.setsubun .hoshikudari_video { width: auto; height: 180%; }	
}
@media (max-width:1500px) {
	.setsubun_hoshikudari_adjust .hoshikudari_that_day_list_title_main_text {
	    font-size: 1.7vw;
	}
}
@media (max-width:1400px) {
	/*.gallery_section { padding-top: 80px; }*/
	.foooter_under_content { padding-right:0; }
	.footer_contact { width:270px; margin:60px auto 0; position:static; display:block; }
	.about_anzan .all_img_text_left { width: 65%; }
}
@media (max-width:1300px) {
	.live_map_list_title_button { margin:5px 0 10px; position:static; -webkit-transform:none; -moz-transform:none; transform:none; }
	.all_subpage_column_story {
	    background: url(../images/kosazuke_column_story2.png) no-repeat right 5% bottom 20px / 30%, 
	    			url(../images/kosazuke_column_story1.png) no-repeat left 5% top 20px / 25%;
	}
	.all_photo_intro_stamp p { width: 200px; left: 50%; top: -30%; transform: translate(-50%,-50%); -moz-transform: translate(-50%,-50%); -webkit-transform: translate(-50%,-50%); }
	.photo_top .all_photo_intro_title { padding: 60px 0 60px; }
	.gallery_official { padding-bottom: 220px; }
	/*hoshikudari*/
	.hoshikudari_history .all_img_text_img_section { width:35%; }
	/*setsubun*/
	.setsubun_const_list li:nth-child(1) .setsubun_const_list_ttl span { bottom:75%; }
	.setsubun_const_list li:nth-child(2) .setsubun_const_list_ttl span { bottom:85%; }
}
@media (max-width:1200px) {
	.tb_appear { display:block; }
	.tb_hide { display:none; }
	.all2_main_intro { padding:0 0 50px 0; }
	.about .all2_main_intro_content { background:url(../images/all2_bg_intro_content_about.png) no-repeat left 20px bottom 20px; background-size: 30%; }
	.all2_main_title { top:-480px; font-size:25px; }
	.all2_main_title:after { left:10px; top:10px; }
	.all2_main_title_text { background-size:15px,15px,cover; padding:30px; }
	.service .all2_main_title span{ letter-spacing: 5px; }
	.about .all2_main_title { width:160px; height:450px; }
	.pray .all2_main_title { width:160px; height:458px; }
	.service .all2_main_title { width:160px; height:455px; }
	.live .all2_main_title { width:160px; height:450px; }
	.about .all2_main_text { width:510px; height:360px; }
	.all_img_text_text { height:560px; }
	.subpage .all_img_text_text { height:560px; }
	.all_time_weekday_holiday .all_time_table_list { width:100%; }
	.all_foooter_banner li { width:47%; }
	.all_foooter_banner li:nth-child(n+2) { margin-left:0; }
	.all_foooter_banner li:nth-child(2n) { margin-left:6%; }
	.all_foooter_banner li:nth-child(n+3) { margin-top:20px; }
	.all_foooter_banner li:last-child { margin-left:0; }
	.all_sub_prayer_about_list { margin-bottom:40px; }
	.all_movie_banner_movie_none .movie_content_img img { width:100%; }
	/* anzan */
	.all_descriptions_list li:nth-child(n+2) { margin: 35px 0 0 0; }
	.all_descriptions_list li { width: 100%; }
	.anzan .all_descriptions_purple_white { margin: 30px auto 0; }
/*ここから*/
	.anzan_descriptions_list li:nth-child(n+2) { margin: 35px 0 0 0; }
	.anzan_descriptions_list li { width: 100%; }
	.anzan .anzan_descriptions_purple_white { margin: 30px auto 0; }
/*ここまで*/
	.anzan_haraobi .all_img_text_img_section img { -webkit-transform:none; -moz-transform:none; transform:none; }
	/*movie*/
	.movie .all_inner_link li { width:49%; margin-left:2%; }
	.movie .all_inner_link li:nth-child(2n-1) { margin-left:0; }
	.movie .all_inner_link li:nth-child(n+3) { margin-top:2%; }
	.all_sub_prayer_about_list li { width: 100%; }
	.all_sub_prayer_table_box { width: 100%; }
	.all_sub_prayer_about_img_box { width: 100%; margin-left: 0; margin-top: 50px; }
	.all_sub_prayer_about_img img { width: 100%; }
	.all_sub_prayer_about_list .all_sub_prayer_title_hexa { margin-bottom:10px; }
	.all_time_table_ttl { width:100%; padding: 3px 12px;}
	.all_time_table_ttl p { text-align: left; }
	.all_time_table_ttl p span { width:auto; display:inline-block; }
	.all_time_table_ttl p span:nth-child(n+2) { margin-left:10px; }
	.all_time_table_list { width:100%; }
	.all_time_table_ttl p .all_time_table_font_space { margin-left:0; }
	.all_subpage_colum_ill { position: relative; margin: 20px auto; height: auto; top: 0; right: 0 !important; transform: none; }
	.all_subpage_colum_txt { margin:20px 0 0 0; }
	.all_ikenai { height: auto; padding:30px; }
	.all_ikenai_ttl { width: 100%; margin-bottom: 10px; position: relative; top:0; left: 0; transform:none; }
	.all_ikenai_ttl span { width:80%; max-width:300px; margin:0 auto 10px; }
	.all_ikenai_list { width: 95%; padding-left: 0px; position: relative; top:0; left: 0; transform: none; }
	.all_ikenai_br { display: none;}
	.all_ikenai_br:after { content: "　"}
	/*sitigosan*/
	.sitigosan_kodomo .all_subpage_colum_box {
		padding:0 0 120px;
	}
	/*pray_other*/
	.pray_other_intro, .all_pray_other_intro { background-size:40%; }
	.pray_other_event_list li { width:100%; }
	.pray_other_event_list li:nth-child(2n) { margin-left:0; }
	.pray_other_event_list li:nth-child(n+2) { margin-top:50px; }

	/*live*/
	.all2_main_title span:nth-child(2) { padding-top:2em; }
	.live .all2_main_title_text { padding:20px 30px; }
	.live .all2_main_title span { letter-spacing:6px; }

	/*okunoin*/
	.okunoin .all_sub_prayer_about_list li { width: 100%; }

	/*photo*/
	.photo_form_list li { width:23.5%; }
	.photo_form_list li:nth-child(n+2) { margin-left:2%; }
	.all_main_image_stamp { bottom: -22%; }

	/*hoshikudari*/
	.hoshikudari .all_subpage_colum_txt { margin-right:0; }
	.hoshikudari_that_day_list_img { height:450px; }
	.hoshikudari_that_day_list_title_sec { width:120px; height:450px; }
	.hoshikudari_that_day_content { width:calc(100% - 80px); }
	.hoshikudari_that_day_list_sub { padding-right:80px; }
	.hoshikudari_that_day_chigo .hoshikudari_that_day_list_title { height:242px; }
	.hoshikudari_that_day_demise .hoshikudari_that_day_list_title { height:355px; }
	.hoshikudari_that_day_hohei .hoshikudari_that_day_list_title { height:260px; }
	.hoshikudari_that_day_list_title p { width:18px; letter-spacing:4px; font-size:18px; }
	.hoshikudari_that_day_demise .hoshikudari_that_day_list_title span { letter-spacing:4px; }
	.hoshikudari_that_day_demise .hoshikudari_that_day_list_title p { width:44px; }
	.hoshikudari_that_day_demise .hoshikudari_that_day_list_title span { width:18px; }
	.hoshikudari_that_day_demise .hoshikudari_that_day_list_title span:nth-child(n+2) { margin-right:8px; }
	.hoshikudari_that_day_list_title_main { margin-top:10px; padding:20px 27px 0; }
	.hoshikudari_that_day_list_title_main_text { width:28px; letter-spacing:8px; font-size:28px; }
	.hoshikudari_that_day_list_sub_title { padding:0 20px 5px 20px; }
	.hoshikudari_that_day_list_sub_content p { padding:0 20px; }
	.hoshikudari_history .all_img_text_img_section { width:185px; }

	/* setsubun */
	.setsubun_hoshikudari_adjust .hoshikudari_that_day_list_title_main_text { /*width: 24px;*/ line-height: 1; letter-spacing: 2px; }
	.setsubun_const_list li { width: 48%; margin-right: 4%; }
	.setsubun_const_list_ttl { padding-left: 10px !important; padding-right: 10px !important; letter-spacing: 1px; font-size: 22px; }
	.setsubun_const_list_txt { padding:0 10px; }
	.setsubun .all_sub_prayer_intro { margin-bottom:100px; }
	.setsubun_hoshikudari_adjust_box { width: 100%; margin-left: 0; }
	.setsubun_hoshikudari_adjust .hoshikudari_that_day_list_sub li:nth-child(n+2) { margin-top:100px; }
	.setsubun_hoshikudari_adjust .hoshikudari_that_day_list_sub_content { width: 100%; position:static; transform:none; margin-top: 30px; }
	.setsubun_hoshikudari_adjust .hoshikudari_that_day_list_title_sec {
	    position: absolute;
	    width: 85px;
	    height: 100%;
	    top: -7%;
	    right: 15px;
	}
	.setsubun_hoshikudari_adjust .hoshikudari_that_day_list_title_sec_inner {  height: 100%;  }
	.setsubun_hoshikudari_adjust .hoshikudari_that_day_list_title {
	    width: 80%;
	    position: absolute;
	    top: 50%;
	    left: 50%;
	    -webkit-transform: translate(-50%,-50%);
	    -moz-transform: translate(-50%,-50%);
	    transform: translate(-50%,-50%);
	}
	.setsubun_hoshikudari_adjust .hoshikudari_that_day_list_sub li { padding-right:0; }
	.setsubun_hoshikudari_adjust .hoshikudari_that_day_list_sub_img img {
	    max-width: none;
	}
	.setsubun_hoshikudari_adjust .hoshikudari_that_day_list_sub_img {
	    margin-top: 0;
	}
	.setsubun_hoshikudari_adjust .hoshikudari_that_day_list_title_main_text {
		padding: 0;
	    width: auto;
	    display: inline-block;
	    line-height: 1;
	    letter-spacing: 2px;
	    font-size: 2.7vw;
	}
	.setsubun_info_contact_nb a { background-size:34px; padding-left:42px; letter-spacing:3px; font-size:20px; }
	.setsubun_info_contact_note { margin-top:10px; padding-left:0; text-align:center; font-size:12px; }
}
@media (max-width: 1024px) {
	.all_subpage_column_story {
	    background: url(../images/kosazuke_column_story2.png) no-repeat right 5% bottom 10px / 270px,
	    			url(../images/kosazuke_column_story1.png) no-repeat left 5% top 10px / 200px;
	}
	.pray_other .all_subpage_column_story {
	    background: url(../images/pray_other_column_story2.png) no-repeat right 5% bottom 10px / 270px,
	    			url(../images/pray_other_column_story1.png) no-repeat left 5% top 10px / 200px;
	}
	/*pray*/
	.pray_flow_list { padding-left:24px; }
	.pray_flow_list li { width:45%; }
	.pray_flow_list li:nth-child(n+2) { margin-left:5%; }
	.pray_flow_list li:nth-child(n+3) { margin-top:40px; }
	.pray_flow_list li:nth-child(3) { margin-left:0; position:relative; }
	.pray_flow_list li:nth-child(n+2) .pray_flow_list_img:after { left:-6%; }
	.pray_flow_list .pray_flow_syussann { width:30%; left:-5%; top:10%; }
	/*baby*/
	.baby_event_img_sec div { padding:20px 15px; }
	.baby_event_balloon_content div { padding:20px; }
	.baby_event_syussan .baby_event_inner_sec { padding:7px 0 7px 225px; }
	.baby_pc_hide { display:block; }
	.baby_tb_hide { display:none; }
	.baby_event_text_sec { width:100%; }
	.baby_event_img_sec { width:100%; max-width:263px; margin: 30px auto 0; padding-left:0; bottom:0; display:block; }
	.baby_event_balloon .baby_event_inner_sec { padding-left:0; }
	.baby_event_kuizome .baby_event_inner_sec,
	.baby_event_sekku .baby_event_inner_sec,
	.baby_event_birth_day .baby_event_inner_sec,
	.baby_event_13 .baby_event_inner_sec { background:none; }
	.baby_event_balloon_content div:after { display:none; }
	.baby_event_balloon_content div:after { display:none; }
	.baby_event_circle_small .baby_event_outer_sec { background-position:left 27px top; }
	.baby_event_flow_list li:nth-child(1).baby_event_circle_small .baby_event_outer_sec,
	.baby_event_syussan .baby_event_outer_sec { background-position:left 27px center; }
	.baby_event_syussan .baby_event_inner_sec { padding-left:220px; }
	.baby_event_syussan .baby_event_balloon_content div:after { display:block; }

	.all_column_banner_content { display: none; }
	.all_column_banner_link_sp { display: block; }
	.all_column_banner_box .all_column_banner_content_img_sp{ display: block; }
	.all_column_banner_box .all_column_banner_content_img { display: none; }
	.pray .all_column_banner { padding: 0 0 50px; }
	.pray_anzan .all_column_banner { padding: 60px 0 40px; }
	.about_anzan .all_column_banner { padding: 40px 0 50px; }
	/*photo*/
	.photo_privacy_new_line { display:inline; }
	/*hoshikudari*/
	.hoshikudari_order_list li { width:28%; }
	.hoshikudari_order_list li:nth-child(n+2) { margin-left:8%; }
	.hoshikudari_order_list li:nth-child(n+4) { margin-top:30px; }
	.hoshikudari_order_list li:nth-child(3n+1) { margin-left:0; }
	.hoshikudari_order_list li:nth-child(n+2):after { left:-16%; }
	.hoshikudari_order_list img { max-width:none; }
	.subpage .hoshikudari_history .all_img_text_text { height:720px; }

	/* setsubun */
	.all_descriptions_title_note2 li { margin: 0 30px !important; padding-left: 20px; display: inline-block; text-align: center; }
	.setsubun_const_list li { width: 100%; margin-right: 0; margin-bottom: 90px; }
	.setsubun_const_list li:nth-child(1) .setsubun_const_list_ttl span,
	.setsubun_const_list li:nth-child(2) .setsubun_const_list_ttl span { bottom:50%; }

}
@media (max-width:960px) {
	.pc_none { display:block !important; }
	.tb_none { display:none !important; }
	.all2_main_intro { padding-right:0; }
	.all2_main_text { font-size:14px; }
	.all_pankuzu_white li a, .all_pankuzu_white li span { color:#5d4182; }
	.all_pankuzu_white li:nth-child(n+2):after { color:#5d4182; }
	.about .all2_main_text { width:370px; height:370px; }
	.pray .all2_main_text { width:400px; }
	.service .all2_main_text { width:400px; height:600px; }
	.all2_main_text p { line-height:2.2em; }
	.all_img_text { text-align:center; }
	.all_img_text .all_img_text_section:nth-child(n+2) { margin-top:80px; }
	.all_img_text_text_section { width:auto; max-width:100%; margin:0 auto; display:inline-block; }
	.all_subpage_read .all_img_text_left, .all_subpage_read .all_img_text_right { width:85%; margin:0 auto; }
	.subpage .all_img_text_left,.subpage .all_img_text_right {
		-webkit-writing-mode:horizontal-tb;
		-ms-writing-mode:lr-tb;
		writing-mode:horizontal-tb;
	}
	.all_subpage_read .all_img_text_text_section { 
		width:100%;
		-webkit-writing-mode:horizontal-tb;
		-ms-writing-mode:lr-tb;
		writing-mode:horizontal-tb;
	}
	.all_subpage_read .all_img_text_title:after {
		width:87px;
		height:1px;
		top:5px;
		right:50%;
		-webkit-transform:translateX(50%);
		-moz-transform:translateX(50%);
		transform:translateX(50%);
	}
	.all_subpage_read .all_img_text_text { margin:20px 0 0 0; width:auto; height:auto; }
	.all_subpage_read .all_img_text_title {
		background:url(../images/all_bg_side_title.png) no-repeat center top;
		background-size:14px;
		height:auto;
		padding:20px 0 0;
		text-align:center;
		font-size:20px;
	}

	.all_img_text_title { height:480px; }
	.about_anzan .all_img_text_text { height: auto; }
	.all_subpage_read .all_img_text { padding-bottom:0; }
	.subpage .all_img_text_left { width: 93%; }	
	.all_movie_banner { background-size:32.4%,40%; }

	.all_img_text_img_section { width:50%; margin:30px auto 0; display:block; }
	.all_img_text_left .all_img_text_img_section { text-align:center; margin-left:auto; }
	.all_img_text_right .all_img_text_img_section { text-align:center; margin-right:auto; }
	.history_hideyoshi.all_img_text_left .all_img_text_img_section,.history_saigoku.all_img_text_left .all_img_text_img_section{ text-align:center; }
	.history .all_img_text_img_section { width:100%; }
	.history .all_img_text_img_section img { width:50%; }
	.history_shotoku .all_img_text_img_section span, .history_saigoku .all_img_text_img_section span,
	.history_kannon .all_img_text_img_section span, .history_hideyoshi .all_img_text_img_section span { width:100%; max-width:none; }
	.history_img_caption { text-align:center; }
	.history_saigoku .all_img_text_img_section span img { max-width:230px; }
	.history_hideyoshi .all_img_text_img_section span img { max-width:186px; }
	
	.all_movie_banner { padding:80px 0; }

	/*movie*/
	.movie_content_text { width:100%; }
	.movie_content_img { width:100%; margin:70px 0 0; }
	.movie_section .all_descriptions_purple_white_wrapper { margin-top:0; }
	
	.subpage .all_subpage_read { padding-bottom: 0; }
	.pray_anzan .all_subpage_read { background:none; }
	.about_anzan .all_subpage_read { background:none; }
	.pray_kosazuke .all_subpage_read,.pray_oreimairi .all_subpage_read,
	.pray_hatumairi .all_subpage_read, .pray_sitigosan .all_subpage_read,
	.senzo_1.all_subpage_read,.senzo_2.all_subpage_read,
	.noukotu_1.all_subpage_read,.noukotu_2.all_subpage_read,
	.eitai .all_subpage_read,.pray_other .all_subpage_read,
	.hondo .all_subpage_read,.sanmon .all_subpage_read,.gojunoto .all_subpage_read,.okunoin .all_subpage_read,
	.hondo_img_story1,.hondo_img_story2,.sanmon_img_story1,.sanmon_img_story2,.sanmon_img_story3,.gojunoto_img_story1,.gojunoto_img_story2,
	.okunoin_img_story1,.okunoin_img_story2,.okunoin_img_story3,
	.baby .all_subpage_read, .hoshikudari .all_subpage_read,
	.setsubun .all_subpage_read { background:none; }
	.pray_oreimairi .all_img_text_title_shift,.senzo .all_img_text_title_shift,.pray_anzan .all_img_text_title_shift,.pray_kosazuke .all_img_text_title_shift { margin-top:0; }
	.pray_sitigosan .all_img_text_title_shift { margin-top:0; }
	.all_subpage_read_img_sp { margin-top:30px; display:block; }
	.all_subpage_read_img_sp img { width:100%; }
	.all_sub_prayer_about_list ul { padding-left:0; }
	.all_sub_prayer_about_list li { padding:25px 0 160px 60px; }
	.all_sub_prayer_about_list li img { position:absolute; top:auto; bottom:20px; right:50%; -webkit-transform:translateX(50%); -moz-transform:translateX(50%); transform:translateX(50%); }
	li.all_sub_prayer_list_no_pic { padding-bottom:25px; }
	.all_sub_prayer_list_text_content { padding-right:0; }
	.all_sub_prayer_list_no_pic .all_sub_prayer_list_text_content { padding-right:0; }
	
	.news_sort_nav li a { padding: 5px 15px; }

	.all_white_box { padding:30px 25px; }
	.all_white_box_img {
		margin:20px auto 0;
		position:static;
		-webkit-transform: none;
		-moz-transform: none;
		transform: none;
	}
	.all_white_box_img p { text-align:center; }

	.eitai_table_list_period li { padding-left:0; }
	.eitai_table_list_period span { display:block; position:static; }
	
	.footer_list_title { margin-bottom:0; display:none; }
	.footer_list ul { margin-bottom:13px; }
	.footer_list li { width:100%; padding:0; border-right:none; }
	.footer_list li:nth-child(2n) { border-right:none; }
	.footer_list li li { margin:0; padding-left:10px; display:none; }
	.footer_list a { padding:13px 0 13px 60px; }
	.footer_list .footer_list_title_no li { padding-left:0; }
	.footer_list .footer_list_title_no li:nth-child(n+2) { margin:0; }
	.footer_open { background:rgba(93, 65, 130, 1); position:relative; display:block; cursor:pointer; }
	.footer_open p {
		margin-bottom:13px;
		padding:13px 0 13px 60px;
		text-align:left;
		font-weight:400;
		font-family:"ヒラギノ角ゴ Pro W3","Hiragino Kaku Gothic Pro","メイリオ",Meiryo,Arial,Verdana,"ＭＳ Ｐゴシック",sans-serif;
		color:#fff;
	}
	.footer_open_button {
		width:20px;
		height:20px;
		position:absolute;
		left:20px;
		top:50%;
		-webkit-transform:translateY(-50%) rotate(0deg);
		-moz-transform:translateY(-50%) rotate(0deg);
		transform:translateY(-50%) rotate(0deg);
	}
	.footer_open_button.open {
		-webkit-transform:translateY(-50%) rotate(315deg);
		-moz-transform:translateY(-50%) rotate(315deg);
		transform:translateY(-50%) rotate(315deg);
	}
	.footer_open_button div {
		background:#fff;
		width:20px;
		height:2px;
		position:absolute;
		top:50%;
		left:0;
	}
	.footer_open_button div:nth-child(1) {
		transform:rotate(90deg);
	}
	/*history*/
	.history_meizi .all_img_text_text { height:560px; }
	.history_meizi img { width:70%; margin:0 auto; }

	/*anzan*/
	.anzan .all_img_text_img_section { width: 70%; margin: 30px auto 0; }
	.temple_cloudy .all_img_text_img_section { width: 100%; position: static; transform: translateY(0);  }
	.temple_cloudy { padding-left: 0; }
	.temple_cloudy .all_img_text_text_section { width: auto; }
	.anzan_haraobi .all_img_text_text_section { max-width:none; }
	.temple_cloudy .all_img_text_section { text-align: center; }
	
	.all_qa_q_txt .all_sub_prayer_title_hexa { display: none; }
	.all_qa_q_txt { padding: 25px 70px 25px 15px; }
	/*movie*/
	.movie .all_inner_link { padding:100px 0 70px; }
	/*live*/
	.live .all2_main_text { width:370px; }
	.live_map_list_link { width:100%; }
	.live_map_list_link_normal li { border-right:none; }
	.live_map_list_link_normal li:last-child { border-bottom:1px #5d4182 solid; }
	.live_map_list_link_special li { padding:20px 20px 20px 0; }
	.live_qr_list li { width:31%; }
	.live_qr_list li:nth-child(n+2) { margin-left:3.5%; }
	.live_qr_list li:nth-child(3n-2) { margin-left:0; }
	.live_qr_list li:nth-child(n+4) { margin-top:3.5%; }
	/*faq*/
	.all_inner_link { padding-top:100px; }
	.all_inner_link li { width:49%; }
	.all_inner_link li:nth-child(2n-1) { margin-left:0; }
	.all_inner_link li:nth-child(2n) { margin-left:2%; }
	.all_inner_link li:nth-child(n+3) { margin-top:2%; }
	/*dotogaran*/
	.all_dotogaran_img_text img { display:block; }
	.hondo_img_story1, .hondo_img_story2, 
	.sanmon_img_story1, .sanmon_img_story2, .sanmon_img_story3, 
	.gojunoto_img_story1, .gojunoto_img_story2,  
	.okunoin_img_story1, .okunoin_img_story2, .okunoin_img_story3, { background:none; }
	.okunoin .all_sub_prayer_about_list li { padding: 25px 0 160px 60px; }
	.hondo .all_subpage_read .all_img_text_title span:nth-child(2),
	.sanmon .all_subpage_read .all_img_text_title span:nth-child(2),
	.gojunoto .all_subpage_read .all_img_text_title span:nth-child(2),
	.okunoin .all_subpage_read .all_img_text_title span:nth-child(2) { margin-top:0; }
	/*baby*/
	.baby .all_img_text_title span:nth-child(2) { padding-top:0; }
	.baby_pc2_hide { margin-bottom:10px; display:block; }
	.baby_event_flow_list .baby_event_balloon .baby_event_outer_sec { padding-left:200px; }
	.baby_event_syussan .baby_event_inner_sec { background-position:left -20px center; padding:20px 0 20px 140px; }
	.baby_tb2_hide { display:none; }
	.baby_event_pink_title { width:100%; }
	.baby .all_sub_prayer_list_text_content { padding-right:0; }
	.baby .all_sub_prayer_about_list li { padding-bottom:0; }
	.baby .all_sub_prayer_about_list li .baby_sub_player_img { display:block; padding:20px 60px 30px 0; }
	.baby .all_sub_prayer_about_list li:last-child .baby_sub_player_img { padding:20px 60px 0 0; }
	.baby .all_sub_prayer_about_list li img { max-width:100%; margin:0 auto; position:static; -webkit-transform:none; -moz-transform:none; transform:none; }
	/*photo*/
	.photo_top .all_main_image { background-size:150%; }
	.photo_form_list li { width:47%; }
	.photo_form_list li:nth-child(n+2) { margin-left:6%; }
	.photo_form_list li:nth-child(2n-1) { margin-left:0; }
	.photo_form_list li:nth-child(n+3) { margin-top:20px; }
	.photo_form_box_table th { width:100%; padding-bottom:8px; display:block; }
	.photo_form_box_table td { display:block; }
	.photo_form_box_table_confirm {
		position:static;
		-webkit-transform:none;
		-moz-transform:none;
		transform:none;
	}
	.photo_form_box_table_require { top:auto; bottom:8px; right:5px; }
	.photo_form_box_table td { padding:15px 5px; border-bottom:0; }
	#photo-method .photo_form_box_table tr:last-child th,
	.photo_form_box_table_contact_last th,
	#photo-privacy .photo_form_box_table tr:last-child th {
		border-bottom:1px #c6c6c6 dashed;
	}
	.photo_form_box_caution { margin-top:30px; }
	.photo_form_box_table_sub_text, .photo_form_box_table_confirm2 {
		position:static;
		-webkit-transform:none;
		-moz-transform:none;
		transform:none;
	}
	.photo_form_box_table th br { display:none; }
	#photo-privacy .photo_form_box_table th { width:100%; min-width:auto; padding-bottom:8px; }
	#photo-privacy .photo_form_box_table td { padding:8px 0; }
	/*hoshikudari*/
	.hoshikudari .all_img_text_title_shift, .hoshikudari .all_img_text_title_shift2 { margin-top:0; }
	.hoshikudari_about_intro_img { margin-top:30px; position:static; text-align:center; }
	.hoshikudari_that_day_list { margin-top:0; }
	.hoshikudari_that_day_list li:nth-child(n+2) { margin-top:100px; }
	.hoshikudari_that_day_list_title_sec { width:100%; height:auto; position: relative; top:auto; right:auto; }
	.hoshikudari_that_day_list_title_sec_inner { height:auto; }
	.hoshikudari_that_day_list_title {
		width:90%;
		margin:0 auto;
		padding:15px 0;
		position:static;
		-webkit-transform:none;
		-moz-transform:none;
		transform:none;
	}
	.hoshikudari_that_day_chigo .hoshikudari_that_day_list_title,
	.hoshikudari_that_day_demise .hoshikudari_that_day_list_title,
	.hoshikudari_that_day_hohei .hoshikudari_that_day_list_title {
		height:auto;
	}
	.hoshikudari_that_day_list_title p {
		width: auto;
		padding-left:4px;
		text-align:center;
		line-height:1.5;
		-webkit-writing-mode:horizontal-tb;
		-ms-writing-mode:lr-tb;
		writing-mode:horizontal-tb;
	}
	.hoshikudari_that_day_demise .hoshikudari_that_day_list_title p {
		width:auto;
	}
	.hoshikudari_that_day_demise .hoshikudari_that_day_list_title span { width:auto; display:inline; }
	.hoshikudari_that_day_demise .hoshikudari_that_day_list_title span:nth-child(n+2) { margin-right:0; }
	.hoshikudari_that_day_list_title_main {
		padding-top:10px;
	}
	.hoshikudari_that_day_list_title_main_text {
		width:auto;
		padding-left:8px;
		line-height:1.5;
	}
	.hoshikudari_that_day_content { width:100%; margin-top:30px; }
	.hoshikudari_that_day_list_sub { padding-right:0; }
	.hoshikudari_that_day_list_sub_content { width:100%; }
	.hoshikudari_that_day_list_sub_img { width:100%; margin-left:0; margin-top:30px; text-align:center; }
	.hoshikudari_that_day_list_sub_img img { max-width:449px; }
	.hoshikudari_that_day_list_img { height:300px; }
	.hoshikudari_limited_list { margin-top:70px; }
	.hoshikudari_limited_list > li:nth-child(2) { margin-top:60px; }
	.hoshikudari_limited_list_content { width:100%; }
	.hoshikudari_limited_list > li:first-child .hoshikudari_limited_list_img,
	.hoshikudari_limited_list > li:nth-child(2) .hoshikudari_limited_list_img { width:100%; margin-top:30px; position:static; text-align:center; }
	.hoshikudari_limited_list > li:first-child .hoshikudari_limited_list_img img { max-width:212px; }
	.hoshikudari_limited_list > li:nth-child(2) .hoshikudari_limited_list_img img { max-width:289px; }
	.hoshikudari_history { padding:100px 0 140px; }
	.subpage .hoshikudari_history .all_img_text_right { text-align:center; }
	.hoshikudari_history .all_img_text_img_section { position:static; }
	.hoshikudari_goshuin_caption { width:100%; max-width:none; display:block; }

	.setsubun_info_l, .setsubun_info_r { width: 100%; margin-right: 0; }
	.setsubun_info_l { margin-bottom: 40px; }
	.setsubun_info_l th { width: 110px; min-width: 110px; padding: 17px 20px 0; }
	.setsubun_products_list li { width:100%; margin-right: 0; letter-spacing:0; font-size:0; }
	.setsubun_products_list li:nth-child(n+2) { margin-top: 30px; padding-top:30px; border-top:1px #000 dotted; }
	.setsubun_products_ttl_main { margin-bottom:10px; }
	.setsubun_products_img { width:160px; margin-right:20px; display:inline-block; vertical-align:middle; }
	.setsubun_products_text_sec { width:calc(100% - 180px); margin-top:0; display:inline-block; vertical-align:middle; }
	.setsubun_products_price { text-align:left; }
	.setsubun_products_txt { margin-top:10px; }


	.setsubun_uranai_top input { max-width: 75px; font-size: 22px; }
	.setsubun_uranai_top_inner { max-width:355px; }
	.setsubun_uranai_button { width: 70px; height: 70px; padding: 20px 0; font-size: 18px; }
	.setsubun_uranai_button:after { bottom: 15px; }
	.setsubun_uranai_this_year { margin-bottom:30px }
	.setsubun_uranai_bottom tr { margin-bottom: 25px; font-size: 18px; }
	.setsubun_uranai_bottom th { margin-bottom: 8px; display: block; font-size: 18px; font-weight: 600; }
	.setsubun_uranai_bottom td { font-weight: 600; }
	.setsubun_uranai_bottom .setsubun_uranai_output { margin-left: 0; font-weight: 400; }
	#tonen-output { margin-right: 0; }
	.setsubun_uranai_mark { width: 150px; position: static; display: block; margin: 40px auto 0;  -webkit-transform: none;  -moz-transform: none; transform: none;  }
	.setsubun_uranai_bottom { padding: 40px 0; }
	#birth-year-output { font-size: 22px; }
	.setsubun_kannon { padding-top:20px; }
	.setsubun_kannon_ttl span { width: 40px; }
	.setsubun_kannon_ttl p { font-size: 23px; }
	.setsubun_kannon_ttl { background-position: top 7px left 7px, bottom 7px right 7px; background-size: 24px, 24px; margin: 0 auto 30px; padding: 30px 0; }
	.setsubun_uranai { width: 90%; padding: 0 18px 18px; margin: 0 auto; }
	#tonen-output { padding: 10px 12px; }
	
	.setsubun .all_img_text_title_shift{ margin-top: 0; }
	.setsubun .all_main_image_title {font-size:28px;}
	.all_main_image_title span.all_main_image_title_setsu { letter-spacing: 2px; font-size:20px; padding-right: 10px;}
}

@media (max-width:840px) {
	.all_news_section table th,
	.all_news_section table tr td:nth-child(2) { display:inline-block; }
	.all_news_section table th { width:110px; min-width:110px; }
	.all_news_section table tr td:nth-child(3) {
		padding:0 0 10px;
		display:block;
	}
	
	.top_news_list_normal { padding:20px 0 10px; }
	.news_page_list table th { padding-left: 0; }
	.news_sort_nav { padding-left: 0; }
	.news_sort_nav ul { text-align: left; }
	.news_sort_nav li { width: 33.33%; margin: 5px 0; text-align: center; }
	.news_sort_nav li a { padding: 10px 0; border: none; }
	.news .all_news_section table tr td:nth-child(3) { padding:0 10px 10px; }

	/* anzan */
	.about_anzan_square_banner_list li span {
		width: 100%;
		height: auto;
		padding: 0 10px;
	    -webkit-writing-mode: horizontal-tb;
	    -ms-writing-mode: lr-tb;
	    writing-mode: horizontal-tb;
	}
	.all_pray_footer_menu { margin: 60px auto; max-width: 450px; }
	.all_pray_footer_menu li:nth-child(3n) { margin-right: 25px; margin-bottom: 20px; }
	.all_pray_footer_menu li:nth-child(2n) { margin-right: 0; margin-bottom: 20px; }
	
	

}
/*==========================================

スマートフォン・タブレット用

=============================================*/

@media (max-width:768px) {
	.pc-menu { display:none; }
	#global-header{background:#fff;width:100%;}
	#global-header a{vertical-align:middle;letter-spacing:3px;font-size:18px;color:#000;}
	#global-header.fixed{position:static;}
	#sp-menu { width:100%; position:relative; z-index:10; display:block; }
	#container { width:100%;margin-left:0; padding-top:58px; }
	.pc-hide { display:block; }
	.sp-hide { display:none; }
	.all_main_image { height:350px; }
	.all_main_image_title { font-size:30px; }
	.all_main_image_title_small { font-size: 22px; }
	.all2_main_title { top:-440px; font-size:22px; }
	.about .all2_main_title { width:148px; height:400px; }
	.pray .all2_main_title { width:148px; height:417px; }
	.service .all2_main_title { width:148px; height:415px; }
	.live .all2_main_title { width:148px; height:415px; }
	.all2_main_title span { letter-spacing:8px; }
	.all2_main_title span:nth-child(2) { padding-top:2.5em; }
	.all2_link_banner_list li p { height:140px; }
	.all2_link_banner_list li span { background-size:13px; width:120px; height:120px; font-size:16px; }
	.all2_link_banner_list .all2_link_7words span span { height:124px; }
	.all2_link_banner_list .all2_link_6words span span { height:105px; }
	.all2_link_banner_list .all2_link_5words span span { height:86px; }
	.all2_link_banner_list .all2_link_4words span span { height:72px; }
	.all2_link_banner_list .all2_link_banner_list_text { padding:10px; font-size:12px; }
	.all2_link_banner_list li .all2_link_banner_list_text span { font-size:12px; }
	.all_full_image_section { height:350px }
	.all_full_image { height:350px; }

	/*top*/
	.content_1of5 ul { border:none; }
	.content_1of5 ul li { width:50%; height:160px; margin:0; border:none; }
	.top_video {
		position:static;
		-webkit-transform:none;
		-moz-transform:none;
		transform:none;
	}
	.top_video_logo_box { border:none; }
	/* #header ヘッダー
=========================================== */

	header{background:#fff;width:100%;position:fixed;}
	.header_wrapper{
		background:#fff;
		width:100%;
		height:58px;
		margin:0 auto;
		position:relative;
		text-align:center;
	}
	.header_logo{
		display:inline-block;
		margin:13px 30px 0 0;
		vertical-align:middle;
	}
	.header_head{
		width:50px;
		height:40px;
		position:absolute;
		top:20px;
		right:25px;
	}
	.header_head:hover{
		opacity:0.7;
	}
	.header_head span{
		background:#8c8c94;
		width:30px;
		height:3px;
		position:absolute;
		top:0;
		right:0;
		border-radius:2px;
	}
	.header_head span:nth-child(2){
		top:10px;
	}
	.header_head span:nth-child(3){
		top:20px;
	}
	.header_menu_text{
		width:55px;
		padding-top:1px;
		position:absolute;
		right:-3px;
		top:38px;
		text-align:center;
		letter-spacing:2px;
		font-weight:600;
		font-size:17px;
		color:#736357;
	}
	.header_site{
		width:80%;
		display:block;
		margin:25px auto;
		vertical-align:middle;
	}
	.header_site input{
		background:url(../images3/top_search_s.png) no-repeat left 10px center;
		background-size:18px;
		width:100%;
		height:35px;
		border:1px #c6c6c6 solid;
		border-radius:5px;
		text-align:center;
		letter-spacing:2px;
		color:#c6c6c6;
	}
	.header_site input:focus{
		color:#000;
	}
	#sp-menu .contents-link-small { display: inline-block; font-size: 14px; }
	.header_banner_sp { width:100%; display:inline-block; }
	.header_banner_sp .header_banner_link { width:80%; }
	.photo .header_banner_sp { width:100%; }
	/* #content
	============================================*/
	#top_with_bg { padding-top:58px; }
	.content_full{
		max-height:none;
		margin:0 auto;
	}
	.top_main_image{
		width:100%;
	}
	.top_main_image img{
		width:100%;
	}
	.content_1of5 ul li { width:44%; height:140px; }
	.content_1of5 ul li:nth-child(2n-1) {
		margin:2% 2% 2% 4%;
	}
	.content_1of5 ul li:nth-child(2n) {
		margin:2% 4% 2% 2%;
	}
	.content_1of5 ul li:first-child,.content_1of5 ul li:nth-child(2) { margin-top:4%; }
	.content_1of5 ul li a:after {
		content:"";
		width:97%;
		height:95%;
		position:absolute;
		left:1.5%;
		top:2.5%;
		z-index:2;
		border:1px #fff solid;
	}
	.content_1of5 ul li a span {
		width:100%;
		padding:30px 0;
	}
	.content_1of5 ul li:nth-child(1) span { background:url(../images/top_btn_thanks_mark_top.png) no-repeat center top,url(../images/top_btn_thanks_mark_bottom.png) no-repeat center bottom; background-size:3px 20px; }
	.content_1of5 ul li:nth-child(2) span { background:url(../images/top_btn_first_mark_top.png) no-repeat center top,url(../images/top_btn_first_mark_bottom.png) no-repeat center bottom; background-size:3px 20px; }
	.content_1of5 ul li:nth-child(3) span { background:url(../images/top_btn_pregnancy_mark_top.png) no-repeat center top,url(../images/top_btn_pregnancy_mark_bottom.png) no-repeat center bottom; background-size:3px 20px; }
	.content_1of5 ul li:nth-child(4) span { background:url(../images/top_btn_easy_delivery_mark_top.png) no-repeat center top,url(../images/top_btn_easy_delivery_mark_bottom.png) no-repeat center bottom; background-size:3px 20px; }
	.content_1of5 ul li:nth-child(5) span { background:url(../images/top_btn_753_mark_top.png) no-repeat center top,url(../images/top_btn_753_mark_bottom.png) no-repeat center bottom; background-size:3px 20px; }
	.content_1of5 ul li:nth-child(6) span { background:url(../images/top_btn_wish_stone_mark_top.png) no-repeat center top,url(../images/top_btn_wish_stone_mark_bottom.png) no-repeat center bottom; background-size:3px 20px; }
	.content_1of5 ul li:nth-child(7) span { background:url(../images/top_btn_memorial_service_mark_top.png) no-repeat center top,url(../images/top_btn_memorial_service_mark_bottom.png) no-repeat center bottom; background-size:3px 20px; }
	.content_1of5 ul li:nth-child(8) span { background:url(../images/top_btn_history_mark_top.png) no-repeat center top,url(../images/top_btn_history_mark_bottom.png) no-repeat center bottom; background-size:3px 20px; }
	.content_1of5 ul li:nth-child(9) span { background:url(../images/top_btn_guide_mark_top.png) no-repeat center top,url(../images/top_btn_guide_mark_bottom.png) no-repeat center bottom; background-size:3px 20px; }
	.content_1of5 ul li:nth-child(10) span { background:url(../images/top_btn_access_mark_top.png) no-repeat center top,url(../images/top_btn_access_mark_bottom.png) no-repeat center bottom; background-size:3px 20px; }
	.all_news_section { padding:80px 0 0; }
	/* #footer フッター
	=========================================== */
	#footer {
		width:100%;
	}
	.footer_live_camera { max-width:540px; padding-bottom:30px; display:block; }
	.footer_live_camera img { width:100%; }

	#footer .footer_parents {
		width:1050px;
		margin: 0 auto;
		text-align:center;
	}
	#footer .footer_parents > li {
		width:12.5%;
		margin:5px;
		display:inline-block;
		vertical-align:top;
	}
	#footer .footer_parents .footer_list_title a{
		letter-spacing:2px;
		font-size:14px;
	}
	#footer .footer_parents .footer_list_title a:hover{
		color:#04963e;
		opacity:1;
	}
	#footer .footer_parents li a{
		width:100%;
		display:block;
		font-family:"UD新ゴ Pro";
		color:#000;
	}
	#footer .footer_parents .footer_children{
		text-align:left;
		font-size:10px;
	}
	#footer .footer_parents .footer_children li {
		margin-top: 8px;
	}
	.footer_copyright{
		width:1030px;
		margin:0 auto;
		padding:10px 0 0;
		text-align:right;
		font-size:10px;
		color:#04963e;
	}
	.footer_foot{
		width:1040px;
		margin:10px auto;
		padding-bottom:50px;
		border-top:1px #04963e solid;
		text-align: center;
	}
	.footer_foot li{
		margin-top:20px;
		display:inline-block;
	}
	.footer_foot li a{
		padding:20px 28px;
		letter-spacing:3px;
		font-family:"UD新ゴ Pro";
		font-size:14px;
		color:#000;
	}
	.footer_foot li a:hover{
		color:#04963e;
		opacity:1;
	}

	/* アコーディオンメニュー
	=================================*/
	#menu_acc{
		background:#fff;
		width:100%;
		border-bottom:2px #5d4182 solid;
		display:none;
		overflow:auto;
	}
	.acc1{
		background:#5d4182;
		margin-top:2px;
		padding:0 0 0 70px;
		position:relative;
		text-align:left;
	}
	#menu_acc ul { letter-spacing:0; font-size:0; }
	#menu_acc li:first-child .acc1{margin-top:0;}
	.acc1 a{
		display:block;
		padding:12px 0 12px 0;
		text-align:left;
		font-size:16px;
		color:#fff !important;
	}
	.acc1 .acc_button{
		padding:5px 20px 5px 20px;
		display:block;
		position:absolute;
		left:0;
		top:50%;
		-webkit-transform:translateY(-50%) rotateZ(0deg);
		-moz-transform:translateY(-50%) rotateZ(0deg);
		transform:translateY(-50%) rotateZ(0deg);
		text-align:center;
		vertical-align:middle;
		cursor:pointer;
		text-align:left;
		font-size:32px;
		color:#fff;
	}
	.acc2{
		background:#876bad;
		margin:2px 0;
		padding:0 0 0 80px;
		position:relative;
	}
	.acc2.acc3 { padding:0 0 0 90px; }
	.acc2 a{
		width:100%;
		height:100%;
		display:block;
		padding:12px 10px 12px 0;
		text-align:left;
		font-size:14px;
		color:#fff !important;
	}
	.acc2 .acc_button{
		padding:2px 20px 2px 20px;
		margin-left:10px;
		display:block;
		position:absolute;
		left:0;
		top:-4px;
		cursor:pointer;
		font-size:32px;
		color:#fff;
	}

	.acc_serch,.acc_business{
		text-align:center;
	}
	.acc_serch{
		margin-top:30px;
	}
	.acc_serch a{
		background:url(../images/all_nav_search.png) no-repeat left 20px center;
		background-size: 20px;
		width:100%;
		display:inline-block;
		padding:20px 10px 20px 0;
		vertical-align:middle;
		border-top:1px #ddf5e5 solid;
		color:#00953e;
	}
	.acc_business a{
		background:url(../images/all_nav_pro.png) no-repeat left 20px center;
		background-size: 20px;
		width:100%;
		display:inline-block;
		padding:20px 10px 20px 0;
		vertical-align:middle;
		border-top:1px #ddf5e5 solid;
		border-bottom:1px #ddf5e5 solid;
		color:#00953e;
	}
	.acc_none{
		margin:20px auto;
		text-align:center;
	}
	.acc_none li {
		width: 90px;
		display:inline-block;
	    text-align: left;
	}
	.acc_none li:nth-child(1) {
		margin-left:0; 
	}
	.acc_none li:nth-child(2) {
		border-right:none;
	}
	.acc_none li:nth-child(3) {
		margin-left:0; 
		border-bottom:none;
	}
	.acc_none li:nth-child(4) {
		border-right:none;
		border-bottom:none;
	}
	.acc_none li a{
		width:100%;
		height:100%;
		display:block;
		padding:10px 0;
		text-align:center;
		font-size:12px;
	}
	.menu_acc_ws{
		text-align:center;
	}
	.acc_close{
		width:100%;
		padding:10px 10px 10px 0;
		text-align:center;
		cursor:pointer;
		color:#5d4182;
	}
	.acc_close span{
		display:inline-block;
		margin-right:5px;
		font-size:1.3em;
		color:#5d4182;
	}
	/*service*/
	.service_index_list_img { padding:10px 0 10px 10px; position:relative; overflow:hidden; }
	.service_index_list li:nth-child(2) .service_index_list_img { padding:10px 10px 10px 0; }
	.service_index_list_list { height:100%; padding:10px 10px 10px 0; position:relative; }
	.service_index_list li:nth-child(2) .service_index_list_list { padding:10px 0 10px 10px; }
	.service_index_list_list li { font-size:14px; }
	.service_index_list_list li:nth-child(n+2) { margin-top:10px; }
	.service_index_list_list li:after { top:3px; }

	/*baby*/
	.baby_event_flow_list li .content:before { left:48.5px; }
	.baby_event_flow_list li:last-child .content:before { height: 80px; top:0; bottom:auto; }
	.baby_event_circle_small .baby_event_outer_sec { background-size:80px; }
	.baby_event_circle_big .baby_event_outer_sec { background-size:100px; padding-left:125px; }
	.baby_event_flow_list .baby_event_outer_sec { padding-left:125px; }
	.baby_event_syussan .baby_event_outer_sec,
	.baby_event_circle_small .baby_event_outer_sec { background-position:left 10px top; }
	.baby_event_flow_list li:nth-child(1).baby_event_circle_small .baby_event_outer_sec { background-position:left 10px center; }
	.baby_event_flow_list .baby_event_balloon .baby_event_outer_sec { padding-left:125px; }
	.photo_top_split_box { top:58px; }
	/*hoshikudari*/
	/*#hoshikudari_video { display:none; }*/

	/*setsubun*/
	.setsubun_full { height: 350px; }
	.setsubun_hoshikudari_adjust .hoshikudari_that_day_list_title_main_text { font-size: 3.6vw; }
	.setsubun_const_list_img a { pointer-events:none; }
	.setsubun_const_list_img a:after { display:none; }
}
@media (max-width:600px) {
	.content_1of5 ul li:after { height:92%; top:4%; }
	.about_anzan_square_banner_list li span { font-size: 14px; }
	.all_sub_prayer_about_img img { width: 100%; }
	
	.photo_top .all_main_image { background-size:200%; }
	.all_main_image_pictures { margin: -20px auto 0; }
	.gallery_section { padding-bottom: 125px; }
	.gallery_official { padding-bottom: 220px; }

	.photo_top_split_box_sp { height: 68px; margin-top: 35px; position: relative; display: block; }
	.double_border_title_wrapper { margin-top: 100px; }
	.photo_top_split_box_pc { display: none; }
	.photo_top_split_box { width: 95%; max-width: 385px; top:0; }
	.photo_top_split_box_bot span { margin: 0 15px 0 -5px; display: inline-block; letter-spacing: 1px;  font-size: 16px; }
	.photo_top_split_box_top p { background: none; }
	.photo_top_split_box_top span { background: url(../images/photo_icn_arrow.png) no-repeat right center / 15px; padding: 4px 25px 3px 0px; }
}

@media (max-width:480px) {
	.all_sub_prayer_title_hexa_sub_notice { font-size: 11px; }
	/* Top */
	.top .pray_anzan_calendar_wrapper { width:100%; }
	.top_video_logo_box { opacity:0.5; }
	.ontent_1of5 ul li a:after { width:98%; left:1%; }
	.live_pc { display:none !important; }
	.live_sp { display:block !important; }
	.live_map_list_title_button a.live_sp { display:inline-block !important; }

	.pc_tb_hide { display:block; }
	.content { width:85%; }
	.all_mt { margin-top:30px; }
	/*all*/
	.all_main_image { height:250px; }
	.all_main_image_title { letter-spacing:3px; font-size:25px; }
	.all_main_image_title_small { display: block; font-size: 20px; }
	.all2_main_intro_content { background:none !important; }
	.all2_main_title {
		margin-top:30px;
		position:relative;
		top:auto;
		left:auto;
		-webkit-transform:none;
		-moz-transform:none;
		transform:none;
		text-align:center;
		font-size:19px;
	}
	.all_main_image_description { bottom:15px; font-size:16px; }
	.all_main_image_description p { padding:10px 5px 0; }
	.all_main_image_description span:nth-child(2) { margin-left:5px; font-size:20px; }
	.all2_main_title_text, .pray .all2_main_title_text {
		padding:15px 30px;
	}
	.about .all2_main_title,.pray .all2_main_title,.service .all2_main_title, .live .all2_main_title { width:auto; height:auto; }
	.all2_main_title p {
		-webkit-writing-mode:horizontal-tb;
		-ms-writing-mode:lr-tb;
		writing-mode:horizontal-tb;
	}
	.all2_main_title span { line-height:1.6em; letter-spacing:5px; }
	.all2_main_title .pc_tb_hide { display:none; }
	.pray .all2_main_title span { letter-spacing:5px; }
	.pray .all2_main_title span:nth-child(2) { padding-top:0; }
	.service .all2_main_title span:nth-child(2) { padding-top:0; }
	.live .all2_main_title span { letter-spacing:4px; }
	.all2_main_title span:nth-child(2) { padding-top:0; }
	.all2_main_text {
		margin-top:30px;
		font-size:13px;
	}
	.about .all2_main_text, .pray .all2_main_text,.service .all2_main_text { width:auto; height:auto; }
	.all2_link_banner_list .all2_link_banner_list_text .sp-hide { display:none; }
	.all_vertical_text_number span { display: inline-block; }
	.all2_main_text div {
		-webkit-writing-mode:horizontal-tb;
		-ms-writing-mode:lr-tb;
		writing-mode:horizontal-tb;
	}
	.all2_main_text p:nth-child(n+2) { margin-right:0; }
	.all2_main_text p {
		text-align:justify;
		line-height:2em;
		letter-spacing:2px;
		-webkit-writing-mode:horizontal-tb;
		-ms-writing-mode:lr-tb;
		writing-mode:horizontal-tb;
	}
	.all2_main_text p:nth-child(n+2) { margin-top:10px; }
	.all_side_title { margin-top:50px; padding-top:20px; font-size:20px; }
	.all_side_title_read { margin:20px auto 40px; text-align:left; font-size:14px; }
	.all_square_banner_list { margin-top:30px; }
	.all_square_banner_list li {
		font-size:14px;
	}
	.all_square_banner_list .all_building_pagoda span,
	.all_square_banner_list .all_building_okunoin span { height:85px; }
	.all_square_banner_list .all_building_temple_gate span,
	.all_square_banner_list .all_building_main_temple span { height:70px; }

	.all_purple_white_square p { font-size:14px; }
	.all_img_text_text_section {
		width:100%;
		-webkit-writing-mode:horizontal-tb;
		-ms-writing-mode:lr-tb;
		writing-mode:horizontal-tb;
	}
	.subpage .all_img_text_text { height:auto; margin: 20px 0 0 0; line-height:2em; font-size:13px; }
	.all_contents_bg,.all_subpage_colum { padding:40px 0; }
	.news .all_contents_bg { padding-top:60px; }
	.all_qa { padding:10px 0 40px; }
	.all_qa_q_txt { padding:15px 70px 15px 15px; font-size:14px; }
	.all_qa_a_txt { font-size:13px; }
	.all_qa_a { padding:15px 10px 15px 85px; }
	.all_qa_a span {
		padding:2px 12px;
		top:15px;
		left:15px;
		font-size:12px;
	}

	.all_img_text .all_img_text_section:nth-child(n+2) { margin-top:60px; }
	.all_img_text_title {
		background:url(../images/all_bg_side_title.png) no-repeat center top;
		background-size:14px;
		height:auto;
		padding:20px 0 0;
		text-align:center;
		font-size:20px;
	}
	.all_img_text_title:after {
		width:87px;
		height:1px;
		top:5px;
		right:50%;
		-webkit-transform:translateX(50%);
		-moz-transform:translateX(50%);
		transform:translateX(50%);
	}
	.all_full_image_section { height:250px; }
	.all_full_image { height:250px; }
	.history_shotoku .all_img_text_title span:nth-child(2),.history_saigoku .all_img_text_title span:nth-child(2),
	.history_hideyoshi .all_img_text_title span:nth-child(2),.history_meizi .all_img_text_title span:nth-child(2) { margin-top:0; }
	.all_img_text_text { height:auto; margin:20px 0 0 0; text-align:left; line-height:2em; }
	.history_meizi .all_img_text_text { height:auto; }
	.all_img_text_text p { margin-top:10px; }
	.all_img_text_img_section { margin-top:30px; }
	.all_ikenai { margin-top:30px; padding:25px 15px; }
	.all_ikenai_ttl { font-size:16px; }
	.all_ikenai_ttl span { font-size:16px; }

	.subpage .all_descriptions_title_text { padding-left:6px; padding-bottom:10px; letter-spacing:6px; font-size:20px; }
	.subpage .all_descriptions_title_text .all_new_line { letter-spacing:6px; font-size:20px; }

	.all_time_table_list ul { padding-left:45px; }
	.all_time_table_list ul li { width:60px; font-size:13px; }
	.all_time_table_list ul li:first-child { top:4px; font-size:12px; }
	.all_time_table_list ul li.all_time_table_list_syosai { width:195px; }
	.all_time_txt p { font-size:13px; }

	.all_sub_prayer_about_title { margin-bottom:20px; padding-left:15px; letter-spacing:3px; font-size:17px; }
	.all_sub_prayer_about_title span { letter-spacing:3px; }
	.all_sub_prayer_intro { margin-bottom:40px; }
	.all_sub_prayer_title_hexa { font-size:12px; }
	.all_sub_prayer_title_hexa p { letter-spacing:1px; }
	.all_sub_prayer_title_hexa_caution { font-size:12px; }
	.all_sub_prayer_list_nb { left:-38px; top:-15px; font-size:40px; }
	.all_sub_prayer_intro { padding-top:40px; }
	.all_sub_prayer_about_list li { padding: 20px 0 160px 40px; }
	li.all_sub_prayer_list_no_pic { padding-bottom:20px; }
	.all_sub_prayer_list_subtitle, .all_sub_prayer_list_subtitle .all_new_line { letter-spacing:3px; font-size:19px; }
	.all_sub_prayer_list_subtitle span { font-size:14px; }
	.all_sub_prayer_about_list li p { letter-spacing:1px; font-size:13px; }
	.all_sub_prayer_about_list { margin-bottom:40px; }
	.all_sub_prayer_timetable { padding-top:30px; }
	.all_sub_prayer_table { font-size:13px; }
	.all_sub_prayer_table th { width:130px; min-width:130px; padding:10px; }
	.all_sub_prayer_table td { padding:10px 0; letter-spacing:1px; }

	.all_sub_prayer_about_img_box_list_text { font-size:11px; }

	.all_subpage_colum_txt { line-height:2em; font-size:14px; }
	.all_subpage_colum_txt p:nth-child(n+2) { margin-top:10px; }

	.all_purple_white_square a, .all_purple_white_square p span { font-size:12px; }

	.all_white_box_img { width:100%; }
	.all_consultation { font-size:14px; }
	.all_ikenai_list_s li, .all_ikenai_list_s li:first-child { width:100%; }
	.all_column_banner_box { box-shadow:#d4d4d4 4px 4px 0 0; }
	.all_movie_banner { margin:60px 0 80px; padding:60px 0; }
	.all_movie_banner .all_purple_white_square a { padding-left:15px; font-size:12px; }

	.all_sub_prayer_list_caution { padding-left:20px; }
	.all_sub_prayer_about_list .all_sub_prayer_list_sub { padding-left:25px; }
	.all_sub_prayer_about_list .all_sub_prayer_list_sub .all_sub_prayer_list_text_content { padding-top:10px; padding-left:10px; }
	.all_sub_prayer_about_list li .all_sub_prayer_list_sub_head { font-size:14.5px; }
	.all_sub_prayer_table_orei p span { display:inline; }
	.all_sub_prayer_table_orei p span:nth-child(1) { width:auto; }

	/*top*/
	#global-header a{letter-spacing:2px;font-size:15px;color:#000; }
	.content_1of5 ul li:after { height:94%; top:3%; }
	.content_1of5 ul li a span { font-size:17px; }
	.top_video_logo img { width:120px; }
	.top_banner { padding:15px 0 20px; }
	.top_banner img:nth-child(1) { display:none; }
	.top_banner img:nth-child(2) { display:block; }
	.all_news_section { padding:40px 0 0; }
	.top_news_title { padding-bottom:3px; font-size:20px; }
	/*history*/
	.history_img_caption { font-size:12px; }
	/* anzan */
	.about_anzan_square_banner_list li span { font-size: 12px; }
	.temple_cloudy .all_img_text_text_section { width: 85%; }
	.all_descriptions_purple_white { margin-top:30px; }
	.all_descriptions_text_section { padding:15px 10px 0; font-size:13px; }
	.all_descriptions_title { padding:0 10px 5px; font-size:20px; }
	.all_descriptions_title_text, .all_descriptions_title_text span { letter-spacing:1px; }
	/*ここから*/
	.anzan_descriptions_text_section { padding:15px 10px 0; font-size:13px; }
	.anzan_descriptions_title { padding:0 10px 5px; font-size:20px; }
	.anzan_descriptions_title_text { letter-spacing:1px; }
	/*ここまで*/
	.subpage .all_img_text_left,.subpage .all_img_text_right { width:85%; margin:0 auto; }
	/**/
	.sitigosan_kodomo_title { font-size:28px; }
	.sitigosan_kodomo_title span { width:35px; }
	/*movie*/
	.movie .all_inner_link { padding:70px 0 30px; }
	.movie_section { padding:40px 0; }
	.movie_content_img { margin:50px 0 0; }
	.movie_title { margin-bottom:20px; padding:0 10px 10px; letter-spacing:3px; font-size:20px; }
	.movie_text { padding:0 10px; font-size:13px; }
	.movie_list { margin-top:40px; }
	.movie_list li { width:100%; display:inline-block; vertical-align:top; }
	.movie_list li:nth-child(2n) { margin-left:0; }
	.movie_list li:nth-child(n+2) { margin-top:30px; }
	.movie_list_title { margin-top:12px; padding-left:7px; border-left:5px solid #d0b300; letter-spacing:2px; font-size:15px; }
	.movie_section.movie_list_section .all_descriptions_purple_white_wrapper { margin-top:20px; }
	/*pray*/
	.pray .all_subpage_column_story_title { padding-top:40px; }
	.pray .all_subpage_column_story_title:after { width:100%; }
	.pray_flow_list { margin-top:30px; }
	.pray_flow_list_title { font-size:16px; }
	.pray_flow_list_text_section p { margin-top:5px; font-size:13px; }
	.pray_flow_list li:nth-child(n+2) .pray_flow_list_img:after { width:26px; height:22px; }
	.pray_flow_list li:nth-child(4) .pray_flow_list_img:after { width:auto; height:auto; font-size:45px; }
	.pray_flow_list li:nth-child(n+3) { margin-top:20px; }
	.pray_flow_list .pray_flow_syussann { top:5%; }
	/*senzo*/
	.service_table_list li { padding-left:0; }
	.service_table_list span { display:block; position:static; }
	/*oreimairi*/
	.pray_oreimairi_sub_full_image { background-image:url(../images/pray_oreimairi_sub_bg_full_image_sp.jpg); }
	/*pray_other*/
	.pray_other_intro_title, .all_pray_other_intro_title { padding-bottom:20px; letter-spacing:3px; text-indent:3px; font-size:22px; }
	.pray_other_intro_title:after, .all_pray_other_intro_title:after { width:52px; height:13px; }
	.pray_other_intro_text, .all_pray_other_intro_text { margin-top:15px; text-align:left; font-size:14px; }
	.pray_other_event_list { margin-top:20px; }
	.pray_other_event_list li:nth-child(n+2) { margin-top:30px; }
	.pray_other_event_list_date span { font-size:13px; }
	.pray_other_event_list_title { margin-top:5px; letter-spacing:2px; font-size:19px; }
	.pray_other_event_list_text { margin-top:5px; font-size:13px; }
	.pray_other_event_list_text_content, .pray_other_event_list_img_content { width:100%; }
	.pray_other_event_list_img_content { margin-top:20px; }
	.pray_other_event_list_enma .pray_other_event_list_img_content { padding-left:0; text-align:center; }
	.pray_other_event_list_enma .pray_other_event_list_img_content img { width:50%; }
	.pray_other_event_list_yakugami .pray_other_event_list_img_content { padding-left:0; text-align:center; }
	.pray_other_event_list .pray_other_event_list_yakugami img { width:60%; }
	.pray_other_event_list_yakugami .pray_other_event_list_img_content { width:100%; }
	/*sitigosan*/
	.sitigosan_kodomo {
		background:url(../images/sitigosan_bg_kodomo_left.png) no-repeat left 10% top 20px, url(../images/sitigosan_bg_kodomo_right.png) no-repeat right 10% bottom 20px , url(../images/all_subpage_colum_bg_1.png) no-repeat center top;
		background-color:#FCF5F4;
		background-size:auto 150px, auto 150px, cover;
		padding:180px 0;
	}
	.sitigosan_kodomo .all_subpage_colum_box { background:none; padding:0; }
	.sitigosan_kodomo_text {
		margin-top:30px;
		-webkit-writing-mode:horizontal-tb;
		-ms-writing-mode:lr-tb;
		writing-mode:horizontal-tb;
	}
	/*live*/
	.live .all2_main_title_text { padding:15px 30px; }
	.live .all2_main_text { width:100%; height:auto; }
	.all_map_intro_copy { margin-top:20px; font-size:13px; }
	.live .all_map_intro_copy { text-align:left; }
	.live_map_posiiton_link_normal li span,
	.live_map_posiiton_link_special li span { background-size:18px; }
	.live_map_posiiton_link li a { padding:0 10px; }
	.live_map_posiiton_link li span { padding-left:22px; font-size:13px; }
	.live_map_list_title_text { padding-left:35px; font-size:17px; }
	.live_map_list_text { font-size:13px; }
	.live_map_list_title_button a { font-size:11px; }
	.live_map_list_link_normal .live_map_list_title_text,
	.live_map_list_link_special .live_map_list_title_text { background-size:28px; }
	.live_map_list_link li { padding:15px 15px 15px 0; }
	.live_map_list_link_special li { padding:15px 15px 15px 0; }
	.live_description { margin-top:50px; }
	.live_description_list { margin-top:5px; }
	.live_description_list li { padding:0 0 20px; }
	.live_description_list_title { position:static; }
	.live_description_list_text { margin-top:10px; }
	.live_description_img { margin-bottom:40px; }
	.live_qr { margin-top:40px; }
	.live_qr_list_text span { font-size:11px; }
	.live_caution { margin-top:40px; padding:20px; }
	.live_caution_title { font-size:20px; }
	.live_caution ul { font-size:13px; }
	
	.all_subpage_column_story_box .all_subpage_colum_txt { width: 85%; margin: 0 auto; }
	.all_subpage_column_story {
	    background: url(../images/kosazuke_column_story2.png) no-repeat right 5% bottom 10px / 270px,
	    			url(../images/kosazuke_column_story1.png) no-repeat left 5% top 10px / 200px;
	}
	.all_subpage_column_story_title:after { width:90%; }
	.all_subpage_column_story_title { padding: 30px 0 0; letter-spacing: 1px; font-size:21px; }
	.all_pray_footer_menu { margin:40px auto; }
	.all_sub_prayer_table_sub_list { margin-top:20px; }
	/*service*/
	.service .all2_main_title .pc_tb_hide { display:none; }
	.service_index_list_img, .service_index_list_list { width:100%; }
	.service_index_list_img, .service_index_list li:nth-child(2) .service_index_list_img { padding:10px 10px 0 10px; }
	.service_index_list_list, .service_index_list li:nth-child(2) .service_index_list_list { padding:0 10px 10px 10px; }
	.service_index_list li:nth-child(2n-1) .service_index_list_img_wrapper:after,
	.service_index_list li:nth-child(2n) .service_index_list_img_wrapper:after {
		background:url(../images/all2_bg_link_banner_square_left_top.png) no-repeat left -1px top -1px ,url(../images/all2_bg_link_banner_square_right_top.png) no-repeat right -1px top -1px;
		background-size:18px;
		border-right:1px #fff solid;
		border-left:1px #fff solid;
		border-bottom:none;
	}
	.service_index_list li:nth-child(2n-1) .service_index_list_list_wrapper:after,
	.service_index_list li:nth-child(2n) .service_index_list_list_wrapper:after {
		background:url(../images/all2_bg_link_banner_square_right_bottom.png) no-repeat right -1px bottom -1px ,url(../images/all2_bg_link_banner_square_left_bottom.png) no-repeat left -1px bottom -1px;
		background-size:18px;
		border-right:1px #fff solid;
		border-left:1px #fff solid;
		border-top:none;
	}
	.service_index_list_list ul {
		width:100%;
		max-width:none !important;
		padding:20px;
		position:relative;
		left:0;
		top:0;
		-webkit-transform:none;
		-moz-transform:none;
		transform:none;
	}
	.service_index_list_list li { font-size:12px; }
	.service_descriptions_title { margin-bottom:30px; }
	.service_contact { margin-top:50px; }
	.service_contact_text { font-size:14px; }
	/*faq*/
	.all_inner_link { padding:70px 0 50px; }
	.faq_section { padding:40px 0; }
	.faq_section .all_qa { padding-top:20px; }
	.all_inner_link .all_purple_white_square a { font-size:12px; }
	/*dotogaran*/
	.all_dotogaran_img_text .all_img_text .all_img_text_section:nth-child(n+2) { margin-top:60px; }
	.all_dotogaran_img_text { width:85%; }
	.all_dotogaran_img_text .all_img_text_img_section { width:80%; }
	.all_dotogaran_img_text .all_img_text_text { height:auto; }
	.all_dotogaran_img_block { margin-bottom:10px; }
	.all_dotogaran_access { padding:40px 0; }
	.okunoin .all_sub_prayer_about_list li { padding: 20px 0 160px 40px; }
	.all_dotogaran_imagebox_list > li:last-child { margin-top:20px; }
	.dotogaran_side_title_read { margin:0 0 20px; text-align:left; line-height:1.8em; font-size:14px; }
	.okunoin .pray_other_intro ul { font-size:14px; }
	.all_dotogaran_links .all_descriptions_purple_white { margin-top:15px; }
	.hondo .all_dotogaran_img_text li .all_img_text_title span { display:inline; }
	.okunoin .pray_other_intro, .hondo .pray_other_intro { margin-top:100px; padding-bottom:40px; }
	.hondo .all_dotogaran_img_text li:first-child .all_img_text_title span:nth-child(2),
	.hondo .all_dotogaran_img_text li:nth-child(2) .all_img_text_title span:nth-child(2),
	.sanmon .all_dotogaran_img_text li:first-child .all_img_text_title span:nth-child(2),
	.sanmon .all_dotogaran_img_text li:nth-child(2) .all_img_text_title span:nth-child(2),
	.sanmon .all_dotogaran_img_text li:nth-child(3) .all_img_text_title span:nth-child(2),
	.gojunoto .all_dotogaran_img_text li:first-child .all_img_text_title span:nth-child(2),
	.gojunoto .all_dotogaran_img_text li:nth-child(2) .all_img_text_title span:nth-child(2),
	.okunoin .all_dotogaran_img_text li:first-child .all_img_text_title span:nth-child(2),
	.okunoin .all_dotogaran_img_text li:nth-child(2) .all_img_text_title span:nth-child(2),
	.okunoin .all_dotogaran_img_text li:nth-child(3) .all_img_text_title span:nth-child(2) { margin-top:0; }
	/*footer*/
	footer { margin-top:60px; }
	.foooter_under_content { margin-top:30px; }

	/*baby*/
	.baby_sp_appear { position:relative; display:block; text-align:center; }
	.baby_sp_appear img { width:100%; max-width:158px; margin-top:10px; }
	.baby_event_blur_button.baby_sp_appear img { height:55px; max-width:none; }
	.baby .all_qa_q_btn {
		margin:0 auto;
		position:static;
		-webkit-transform:none;
		-moz-transform:none;
		transform:none;
	}
	.baby_event_blur_button {
		position:relative;
		bottom:63px;
	}
	.baby_event_inner_sec { height:150px; overflow:hidden; }
	.baby_event_kainin .baby_event_inner_sec { height:auto; }
	.baby_open .baby_event_inner_sec {
		height:100%;
		-ms-transition:all 0.4s ease;
		-webkit-transition:all 0.4s ease;
		-moz-transition:all 0.4s ease;
		-o-transition:all 0.4s ease;
		transition:all 0.4s ease;
	}
	.baby_open .baby_event_blur_button.baby_sp_appear img { display:none; }
	.baby_open .baby_event_blur_button { margin:40px 0 0; padding-top:20px; border-top:2px #d0b300 solid; bottom:auto; }
	.baby_open .all_qa_q_arr { -webkit-transform:rotate(300deg) translate(0,2px); -moz-transform:rotate(300deg) translate(0,2px); transform:rotate(300deg) translate(0,2px); }
	.baby_event_flow_list li .content { padding:40px 0; }
	.baby_event_flow_list .baby_event_outer_sec { padding-left:115px; }
	.baby_event_border_content, .baby_event_text_sec,.baby_event_balloon_content { margin-top:15px; }
	.baby_event_balloon_content div { width:100%; }
	.baby_event_syussan .baby_event_inner_sec { background:none; padding:0; }
	.baby_event_syussan .baby_event_balloon_content div:after { display:none; }
	.baby_event_pink_title { font-size:11px; }
	.baby_event_border_title { letter-spacing:4px; font-size:20px; }
	.baby_event_text_sec { font-size:13px; }
	.baby_event_img_sec { margin-top:20px; }
	.baby_event_img_sec div { padding:15px 10px; }
	.baby_event_img_sec p:nth-child(2) { font-size:12px; }
	.baby_pc_hide_img { display:none; }
	.baby_sp_appear_img { margin-top:10px; display:block; }
	.baby .all_descriptions_purple_white { margin-top:20px; }
	.baby_event_balloon_content div { padding:15px; font-size:13px; }
	.baby .all_sub_prayer_intro { margin-bottom:30px; }
	.baby .all_sub_prayer_about_list li .baby_sub_player_img { display:block; padding:15px 40px 20px 0; }
	.baby .all_sub_prayer_about_list li:last-child .baby_sub_player_img { padding:15px 40px 0 0; }
	.baby .all_sub_prayer_list_text_content p { line-height:1.8em; font-size:15px; }
	/*photo*/
	.photo_top_nav li { margin-right: 0; margin-bottom: 15px; display: block; }
	.photo_top_nav li:last-child { margin-bottom: 0; }
	.photo_top .all_main_image_section { padding:0; }
	.photo_top .all_main_image { height:auto; }
	.all_photo_content { width:85%; }
	.all_photo_section { padding:60px 0 70px; }
	.photo_form .all_brown_section { padding-top:60px; }
	.all_photo_intro_title { margin-bottom:20px; letter-spacing:4px; font-size:22px; }
	.photo_top .all_photo_intro_title { letter-spacing:4px; font-size:30px; }
	.photo_top .all_photo_intro_title span { letter-spacing:4px; }
	.all_photo_intro_title span { letter-spacing:4px; }
	.all_photo_intro_copy { margin-bottom:20px; letter-spacing:2px; text-align: center; font-size:17px; }
	.all_photo_intro_copy span { letter-spacing:2px; }
	.all_photo_intro_copy span br { display: block; }
	.all_photo_intro_text { padding-bottom:25px; text-align:left; font-size:14px; }
	.all_photo_intro_text p:nth-child(n+2) { margin-top:10px; }
	.all_photo_intro_text p { letter-spacing: 1px; }
	.all_photo_intro_text p span { display:inline; letter-spacing: 1px; }
	.all_photo_intro_text p.all_photo_intro_copy span { display:block; }
	.all_photo_accorder { padding:12px 5px; font-size:11px; }
	.all_photo_link_top { margin-top:25px; }
	.all_photo_link_top a { padding:10px 40px; letter-spacing:1px; font-size:15px; }
	.photo_form_list li { width:48%; }
	.photo_form_list li:nth-child(n+2) { margin-left:4%; }
	.photo_form_list li:nth-child(2n-1) { margin-left:0; }
	.photo_form_list li:nth-child(n+3) { margin-top:15px; }
	.photo_form_list a { letter-spacing:2px; font-size:11px; }
	.photo_form_caution { margin-top:30px; font-size:14px; }
	.photo_form_title span { letter-spacing:6px; font-size:18px; }
	.photo_form_title > span { padding-left:26px; }
	.photo_form_content_list { margin-top:60px; font-size:13px; }
	.photo_form_sub_title { margin-bottom:20px; font-size:15px; }
	.photo_form_content_list_sub li:nth-child(n+2) { margin-top:8px; }
	.photo_form_content_list > li:nth-child(n+2) { margin-top:45px; }
	.photo_form_section .photo_form_content { padding-top:80px; }
	.photo_form_caution_sub { margin-top:50px; font-size:14px; }
	.photo_form_caution_sub_inner { padding:25px; }
	.photo_form_caution_sub_inner p:nth-child(n+2) { margin-top:5px; }
	.photo_form_method_text { font-size:13px; }
	.photo_form_box { padding:45px 20px; }
	.photo_form_box_intro { margin-bottom:20px; font-size:12px; }
	.photo_form_box_table { font-size:13px; }
	.photo_form_box_table th { padding-top:20px; letter-spacing:1px; }
	.photo_form_box_table_require, .photo_form_box_table_require2, .photo_form_box_table_require3,
	.photo_form_box_table_require4, .photo_form_box_table_require5 { bottom:10px; font-size:12px; }
	.photo_form_box_table_file_button { font-size:11px; }
	.photo_form_box_table_file_text { font-size:11px; }
	.photo_form_box_caution { margin-top:20px; padding:20px; }
	.photo_form_box_caution_title { font-size:15px; }
	.photo_form_box_caution_list { font-size:12px; }
	.photo_form_box_agree { margin-top:20px; padding-left:0; position:relative; text-align:left; font-size:12px; }
	.photo_form_box_agree .photo_form_box_check { margin-left: 5px; position:absolute; top:1px; }
	#photo-contact .photo_form_caution_sub { margin-bottom:50px; }
	#photo-contact .photo_form_box { padding-top:30px; }
	.photo_form_box_privacy { margin-top:15px; font-size:13px; }
	.photo_form_box_privacy_small { font-size:11px; }
	.photo_form_box_confirm_button { letter-spacing:2px; font-size:11px; }
	#photo-privacy .photo_form_box_table { margin-top:20px; }
	.footer_photo { margin-bottom:30px; }

	.photo_confirm .all_brown_section { padding:60px 0 20px; }
	.photo_confirm .photo_form_box_confirm_button { margin-top:25px; }
	#photo_gallery span { font-size: 10px; }
	#photo_gallery { width:85%; }


	.all_photo_intro { width: 90%; }
	.all_photo_intro p { font-size: 18px; line-height: 1.6; }
	.double_border_title_wrapper { margin-top: 70px; }
	.double_border_card { width: 50px; bottom: -5px; right: -35px; }
	.double_border_camera { width: 42px; top: -27px; left: -8px; }
	.double_border_title { padding: 15px; letter-spacing: 3px; font-size: 23px; }
	.double_border_title_inner:before { content: ""; width: 27px; height: 32px; }
	.double_border_title_inner:after { content: ""; width: 22px; height: 29px; }
	.double_border_title_wrapper:before { content: ""; width: 42px; height: 31px; }
	.double_border_title_wrapper:after { content: ""; width: 38px; height: 27px; }

	.photo_top .all_photo_section { padding: 0 0 70px; }
	.all_photo_intro_stamp p { width: 120px; top: -20%; }
	.photo_top .all_photo_intro_title { padding: 45px 0 45px; letter-spacing: 6px; font-size: 30px; }
	.photo_top .all_photo_intro_text p.all_photo_intro_copy { margin-bottom: 25px; letter-spacing: 2px; font-size: 20px; }
	.photo_top .all_photo_intro_text p.all_photo_intro_copy span { letter-spacing: 2px; }
	.photo_top_link_intro a { font-size: 16px; }
	.all_photo_content_note { padding: 0 10px; }
	.all_photo_content_note p { letter-spacing: 2px; font-size: 11px; }
	.gallery_section { padding: 80px 0 130px; }
	.gallery_official { padding-bottom: 160px; }
	.all_photo_intro_title_box:after { height: 15px; }
	.all_photo_intro_title_box:before { height: 15px; }
	.all_main_image_pictures { margin: -10px auto 0; padding: 0 10px; }
	.all_pankuzu_list li { font-size: 12px; }

	.photo_top_split_box_bot span, .photo_top_split_box_bot p, .photo_top_split_box_top p { font-size: 14px; }
	
	.photo_split_box_top { letter-spacing: 3px; font-size: 16px; }
	.photo_split_box_bot { font-size: 14px; }
	.photo_split_box_bot span { font-size: 12px; }
	/*special fixes*/
	.photo_top footer { margin-top: 0; padding-top: 60px; }
	.live footer { margin-top: 0; padding-top: 60px; }

	/*hoshikudari*/
	.hoshikudari .all_main_image { height:200px; }
	.hoshikudari #tubular-player { height:205px !important; }
	.hoshikudari .all_main_content { padding-top:40px; }
	.hoshikudari_about { margin-top:20px; }
	.hoshikudari_about_intro_img { margin-top:20px; }
	.hoshikudari_about_intro_img img { width:126px; }
	.hoshikudari_about { padding-bottom:50px; }
	.hoshikudari_order_list { margin-top:25px; }
	.hoshikudari_order_list li:nth-child(n+4) { margin-top:20px; }
	.hoshikudari_order_list li:nth-child(n+2):after { width:20px; height:18px; }
	.hoshikudari_about .all_descriptions_purple_white { margin-top:30px; }
	.hoshikudari_that_day_list_title_sec { padding:5px; }
	.hoshikudari_that_day_list_title { padding:10px 0; }
	.hoshikudari_that_day_list_title p { padding-left:2px; letter-spacing:2px; font-size:15px; }
	.hoshikudari_that_day_demise .hoshikudari_that_day_list_title span { letter-spacing:2px; }
	.hoshikudari_that_day_list_title_main { margin-top:5px; padding-top:5px; }
	.hoshikudari_that_day_list_title_main_text { padding-left:5px; letter-spacing:5px; font-size:20px; }
	.hoshikudari_that_day_list_title_square { width:10px; height:10px; }
	.hoshikudari_that_day_content { margin-top:20px; }
	.hoshikudari_that_day_list_img { height:200px; }
	.hoshikudari_that_day_list_text { margin-top:20px; font-size:15px; }
	.hoshikudari_that_day_list li:nth-child(n+2) { margin-top:50px; }
	.hoshikudari_that_day_list_sub { margin-top:50px; }
	.hoshikudari_that_day_list_sub_title { margin-bottom:15px; padding:0 15px 5px 15px; letter-spacing:3px; font-size:20px; }
	.hoshikudari_that_day_list_sub_content p { padding:0 15px; font-size:14px; }
	.hoshikudari_that_day_list_sub_img { margin-top:20px; padding:0 15px; }
	.hoshikudari_that_day_list_sub li:nth-child(n+2) { margin-top:50px; }
	.hoshikudari_that_day_caution { margin-top:30px; }
	.hoshikudari_that_day_caution_title,
	.hoshikudari_that_day_caution_text { font-size:12px; }
	.hoshikudari_that_day_caution_title { margin-bottom:5px; }
	.hoshikudari_limited { padding:50px 0; }
	.hoshikudari_limited_list { margin-top:40px; }
	.hoshikudari_limited_list_content { font-size:13px; }
	.hoshikudari_limited_list_content ul { margin:5px 0; }
	.hoshikudari_limited .all_sub_prayer_table { margin-top:20px; }
	.hoshikudari_limited_list > li:nth-child(2) { margin-top:50px; }
	.hoshikudari_limited .all_sub_prayer_table th { width:100px; min-width:100px; }
	.hoshikudari .all_subpage_colum_ill { width:101px; }
	.subpage .hoshikudari_history .all_img_text_text { height:auto; }
	.hoshikudari_history { padding:50px 0 70px; }
	.subpage .hoshikudari_history .all_img_text_text { margin-top:25px; }
	.hoshikudari .gallery_section { padding-top:60px; padding-bottom:60px; }

	/* setsubun */
	.setsubun .all_main_content { padding-top: 40px; }
	.setsubun_products .all_side_title { font-size: 16px; }
	.all_pray_setsubun_top { padding-bottom: 40px; }
	.setsubun_hoshikudari_adjust .hoshikudari_that_day { padding: 70px 0 80px; }
	.all_pray_setsubun { margin-top: 70px; }
	.all_descriptions_title_note { margin: 30px 0 15px; letter-spacing: 1px; font-size: 14px; }
	.all_descriptions_title_note2 li {
	    background: url(../images/all_icn_diamond.png) no-repeat center left / 12px;
	    margin: 0 !important;
	    padding-left: 20px;
	    display: inline-block;
	    letter-spacing: 4px;
	    text-align: center;
	    font-size: 20px;
	}
	.setsubun_products { margin-bottom: 60px; }
	.setsubun_products_list { margin: 45px 0 0; }
	.setsubun_products_list li { width: 100%; margin-right: 0; }
	.setsubun_products_ttl_main { margin-bottom: 25px; letter-spacing:4px; font-size: 18px; }
	.setsubun_products_price { font-size:14px; }
	.setsubun_products_img { width:115px; }
	.setsubun_products_text_sec { width:calc(100% - 135px) }
	.setsubun_products_txt { font-size: 13px; }
	.setsubun_info { padding:40px 0 65px; }
	.setsubun_info_wrapper { margin-top:40px; }
	.setsubun_info_head { margin-bottom: 15px; padding: 11px 0 11px 15px; font-size: 18px; }
	.setsubun_info_contact_nb a { background-size: 30px; padding: 20px 10px 20px 40px; letter-spacing: 2px; font-size: 20px; }
	.setsubun_info_contact_note { padding-left: 0; font-size: 12px; }
	.setsubun_info_l td { padding: 15px 15px 15px 0; font-size: 13px; }
	.setsubun_info_l th { width:90px; min-width:90px; padding: 15px 0 0 15px; font-size: 13px; }
	.setsubun_info_copy { margin-bottom:25px; font-size:13px; }

	.setsubun .all_sub_prayer_intro { margin-bottom: 50px; }
	.setsubun_uranai_top {
	    background-color: #eeedf3;
	    background-image: url(../images/hoshikudari_setsubun_uranai_bg1.png), url(../images/hoshikudari_setsubun_uranai_bg2.png);
	    background-repeat: no-repeat, no-repeat, no-repeat;
	    background-position: top left, bottom right;
	    background-size: 140px, 140px;
	    padding: 40px 0 35px;
	    font-size: 16px;
	    font-weight: 600;
	}
	.setsubun_uranai_top_inner { max-width:243px; }
	.setsubun_uranai_top input { max-width: 50px; margin: 0 8px; letter-spacing: 0; text-align: center; font-size: 13px; }
	.setsubun_uranai_button { width: 52px; height: 52px; padding: 15px 0; font-size: 14px; }
	.setsubun_uranai_button:after { bottom: 10px; border-width:5px 5px 0 5px; }
	.setsubun_uranai_this_year { margin-bottom:25px; letter-spacing:2px; font-size:20px; }
	.setsubun_uranai_this_year span { letter-spacing:2px; }
	.setsubun_uranai_bottom tr { margin-bottom: 20px; }
	.setsubun_uranai_bottom th { margin-bottom: 5px; display: block; font-size: 14px; font-weight: 600; }
	.setsubun_uranai_bottom td { font-size: 16px; }
	.setsubun_uranai_bottom .setsubun_uranai_output { margin-left: 0; }
	.setsubun_uranai_link { margin-top:35px; }
	.setsubun_uranai_link a { width:212px; box-shadow:#9f2e25 0 3px 0; }
	.setsubun_uranai_link span { padding-left:0; padding-right:22px; line-height:40px; letter-spacing:3px; font-size:16px; }
	.setsubun_uranai_link span:after { border-width:6px 6px 0 6px; }
	#tonen-output { margin-right: 0; }
	.setsubun_uranai_mark { width: 150px; position: static; display: block; margin: 40px auto 0;  -webkit-transform: none;  -moz-transform: none; transform: none;  }
	#birth-year-output { font-size: 16px; }
	.setsubun_content { margin-bottom:50px; padding-bottom:50px; }
	.setsubun_content_inner { width:98%; }
	.setsubun_kannon_ttl span { width: 36px; }
	.setsubun_kannon_ttl p { font-size: 18px; }
	.setsubun_kannon_ttl { margin: 0 auto 30px; padding: 15px 0; }
	.setsubun_kannon_ttl:after { width:28px; height:18px; bottom:-12px; }
	.setsubun_uranai { width: 92%; padding: 0 10px 10px; margin: 0 auto; }
	#tonen-output { padding: 10px 12px; }

	.setsubun_full { height: 250px; }
	.setsubun_hoshikudari_adjust_box { width: 100%; margin-left: 0; }
	.setsubun_hoshikudari_adjust .hoshikudari_that_day_list_sub_content { width: 100%; margin-top: 20px; }
	.setsubun_hoshikudari_adjust .hoshikudari_that_day_list_title_sec { width: 100%; height: auto; position: relative; top: auto; right: auto; }
	.setsubun_hoshikudari_adjust .hoshikudari_that_day_list_title_sec_inner { height: auto; }
	.setsubun_hoshikudari_adjust .hoshikudari_that_day_list_title_main_text { width: 100%; padding-left: 0; writing-mode: initial; font-size: 18px; }
	.setsubun_hoshikudari_adjust .hoshikudari_that_day_list_sub_img { padding: 0; margin-top: 10px; }
	.setsubun_hoshikudari_adjust .hoshikudari_that_day_list_sub li:nth-child(n+2) { margin-top: 50px; }

	.setsubun_link_list { width:90%; margin:0 auto 120px; display:block; letter-spacing:0; font-size:0; }
	.setsubun_link_list li { width:48.5%; display:inline-block; vertical-align:top; }
	.setsubun_link_list li:nth-child(2n) { margin-left:3%; }
	.setsubun_link_list li:nth-child(n+3) { margin-top:3%; }
	.setsubun_link_list .all_descriptions_purple_white { width:100%; margin-top:0; }
	.setsubun_link_list .all_purple_white_square a,
	.setsubun_link_list .all_purple_white_square p span { padding:8px 0 8px 15px; font-size:11px; }

	.setsubun_const_list { margin-bottom:95px; }
	
	.setsubun_const_list_txt span span { display:inline; }
	.setsubun_const_list li { width: 100%; margin-right: 0; margin-bottom:120px; }
	.setsubun_hoshikudari_adjust .hoshikudari_that_day_list_title { width: 100%; position: static; -webkit-transform: none; -moz-transform: none; transform: none; }
	.setsubun_const_list li:nth-child(1) .setsubun_const_list_ttl,
	.setsubun_const_list li:nth-child(2) .setsubun_const_list_ttl { margin-bottom: 15px; font-size: 18px; letter-spacing: 1px; }
	.setsubun_const_list li:nth-child(1) .setsubun_const_list_ttl span,
	.setsubun_const_list li:nth-child(2) .setsubun_const_list_ttl span { bottom: 85%; }
	.setsubun_const_list li:nth-child(1) .setsubun_const_list_ttl span { width:40%; right:-7px; }
	.setsubun_const_list_txt { margin-bottom: 15px; font-size: 13px; }
	
	.setsubun .all_main_image_title { top:35%; font-size: 23px; }
	.all_main_image_title span { font-size: inherit !important; }
	.all_main_image_title span.all_main_image_title_setsu { margin: 4px 0; display: block; }
}
@media (max-width:430px){
	.hexa_fix { margin: 0 30px 10px 0; }
	.all_sub_prayer_title_hexa_sub_notice { margin: 0 0 10px 0; }
}
@media (max-width:420px){
	/*.photo_top_split_box_bot span { margin: 0 0 8px -5px; display: block; }*/
	/*.photo_top_split_box { width: 235px; top: 25px; }*/
	.setsubun_uranai:after { display: none; }
	.photo_top_split_box_bot span, .photo_top_split_box_bot p { font-size: 12px; }
	.photo_top_split_box_bot p { letter-spacing: 2px; }
	.photo_top_split_box_bot span { margin: 0 8px 0 -5px; }
	.setsubun_uranai_top { padding-top:35px; }
	.setsubun_uranai_top_inner { max-width:212px; }
	.setsubun_uranai_bottom { width:85%; padding:30px 0 50px; }
	.setsubun_uranai_button {
		padding: 6px 10px 6px 0;
    	margin-top: 14px;
    	width: 100%;
    	height: auto;
	    position: relative;
	    -webkit-transform: none;
	    -moz-transform: none;
	    transform: none;
	    border-radius: 5px;
	}
	.setsubun_uranai_button:after { left: 59%; bottom: 50%; -webkit-transform:translate(-50%,70%); -moz-transform:translate(-50%,70%); transform:translate(-50%,70%); }
	.setsubun_uranai_top input { max-width: 82px; }
	.setsubun_uranai_this_year { margin-bottom:12px; letter-spacing:3px; }
	.setsubun_uranai_this_year span { letter-spacing:3px; }
	.setsubun_uranai_mark { margin:30px auto 0; }
}

@media (max-width:400px){
	.content_1of5 ul li:after { height:96%; top:2%; }
	/*ラインナップ*/
	#global-header a{letter-spacing:1px;font-size:13px;color:#000;}
	/*アコーディオン*/
	.acc_none li {
	width: 140px;
	display:inline-block;
	border-right:1px #ddf5e5 solid;
	border-bottom:1px #ddf5e5 solid;
    text-align: center;
    margin-left:-7px;
	}
	#sp-menu .contents-link-small { display: block; font-size: 12px; }

	.all_pray_footer_menu {  max-width: 300px; }
	.all_pray_footer_menu li { margin-right: 0 !important;  }
	.all_pray_footer_menu li:nth-child(2n) { margin-right: 0 !important;  }
}
@media (max-width:360px){
	.live .all2_main_title_text .pc_tb_hide { display:none; }
	.movie .all_inner_link li { width:100%; margin-left:0; }
	.movie .all_inner_link li:nth-child(n+2) { margin-top:10px; }
	.all_pankuzu_list li { font-size: 11px; }
	.hoshikudari_that_day_list_img { height:150px; }

	.setsubun_kannon_ttl span { width: 30px; margin:0 3px; }
	.setsubun_kannon_ttl p { font-size: 16px; }
	.setsubun_kannon_ttl { padding: 15px 0; }
	.setsubun_link_list .all_purple_white_square a,
	.setsubun_link_list .all_purple_white_square p span { font-size:11px; }
}

/*min-width*/

@media only screen and (min-width: 1600px) {
	.all2_main_intro_content { background-size:800px; }
}
@media only screen and (min-width: 600px) {
  /* 画面幅が600px以上の場合の縦横比の指定 */
  .pray_anzan_calendar_container {
    padding-bottom: 75%;
  }
 }




