@charset "UTF-8";
/* ============全体=============== */
* {
  margin: 0;
  padding: 0; }

html, body, a, img {
  padding: 0;
  margin: 0;
  border: none;
  text-decoration: none; }

html, body {
  width: 100%;
  height: 100%;
  color: #000; }

body {
  background: url(../img/bg.jpg);
  font-family: 'ヒラギノ角ゴ Pro W3','Hiragino Kaku Gothic Pro','メイリオ',Meiryo,'ＭＳ Ｐゴシック',sans-serif;
  *font-family: 'メイリオ',Meiryo,'ＭＳ Ｐゴシック',sans-serif; }

h2 {
  color: #fff;
  font-size: 220%; }

h3 {
  color: #000;
  font-size: 180%;
  margin-bottom: 10px;
  /*background-color:#c71728;*/
  padding: 5px 20px;
  margin: 20px 0;
  border-bottom: 5px solid #c71728; }

h3:before {
  content: "◆";
  margin-right: 1em;
  color: #c71728; }

p, h3, #contents li, dl {
  line-height: 1.5em; }

p, #contents li, dl {
  font-size: 13pt;
  margin-bottom: 20px;
  /*text-indent: 1em;*/ }

p, h2, h3, h4, table, #contents ul, #contents dl {
  font-family: "游明朝", YuMincho, "ヒラギノ明朝 ProN W3", "Hiragino Mincho ProN","HG明朝E","ＭＳ Ｐ明朝","ＭＳ 明朝",serif; }

li {
  list-style: none; }

#wrap {
  min-width: 960px; }

a img.hover_a:hover {
  opacity: 0.8; }

section {
  clear: both;
  overflow: hidden;
  margin-bottom: 30px; }

h4 {
  font-size: 23pt;
  padding: 10px 20px; }

/* ===============ヘッダー================= */
header {
  background: url(../img/head_border.png) repeat-x;
  position: relative;
  /*height: 300px;*/
  border-bottom: 15px solid #000;
  margin-bottom: 30px;
  text-align: center; }

.head_inner {
  width: 960px;
  margin: 0 auto; }

#topimg_page {
  text-align: right; }

#topimg_page img {
  height: 300px; }

#index_nav {
  width: 840px;
  text-align: center;
  margin: 0 auto; }

nav ul {
  position: absolute;
  top: 25px;
  height: 200px; }

nav li {
  list-style: none;
  float: left; }

nav li a {
  width: 100%;
  height: 100%;
  display: block; }

.menu01 {
  background: url(../img/menu01.png) no-repeat;
  width: 58px;
  height: 200px; }

.menu02 {
  background: url(../img/menu02.png) no-repeat;
  width: 58px;
  height: 200px; }

.menu03 {
  background: url(../img/menu03.png) no-repeat;
  width: 58px;
  height: 200px; }

.menu04 {
  background: url(../img/menu04.png) no-repeat;
  width: 58px;
  height: 200px; }

.menu05 {
  background: url(../img/menu05.png) no-repeat;
  width: 58px;
  height: 200px; }

.menu06 {
  background: url(../img/menu06.png) no-repeat;
  width: 58px;
  height: 200px; }

.menu07 {
  background: url(../img/menu07.png) no-repeat;
  width: 58px;
  height: 200px; }

.menu08 {
  background: url(../img/menu08.png) no-repeat;
  width: 58px;
  height: 200px; }

.menu09 {
  background: url(../img/menu09.png) no-repeat;
  width: 58px;
  height: 200px; }

.menu10 {
  background: url(../img/menu10.png) no-repeat;
  width: 58px;
  height: 200px; }

.menu11 {
  background: url(../img/menu11.png) no-repeat;
  width: 58px;
  height: 200px; }

.menu01:hover {
  background: url(../img/menu01_h.png) no-repeat;
  width: 58px;
  height: 200px; }

.menu02:hover {
  background: url(../img/menu02_h.png) no-repeat;
  width: 58px;
  height: 200px; }

.menu03:hover {
  background: url(../img/menu03_h.png) no-repeat;
  width: 58px;
  height: 200px; }

.menu04:hover {
  background: url(../img/menu04_h.png) no-repeat;
  width: 58px;
  height: 200px; }

.menu05:hover {
  background: url(../img/menu05_h.png) no-repeat;
  width: 58px;
  height: 200px; }

.menu06:hover {
  background: url(../img/menu06_h.png) no-repeat;
  width: 58px;
  height: 200px; }

.menu07:hover {
  background: url(../img/menu07_h.png) no-repeat;
  width: 58px;
  height: 200px; }

.menu08:hover {
  background: url(../img/menu08_h.png) no-repeat;
  width: 58px;
  height: 200px; }

.menu09:hover {
  background: url(../img/menu09_h.png) no-repeat;
  width: 58px;
  height: 200px; }

.menu10:hover {
  background: url(../img/menu10_h.png) no-repeat;
  width: 58px;
  height: 200px; }

.menu11:hover {
  background: url(../img/menu11_h.png) no-repeat;
  width: 58px;
  height: 200px; }

.menu_2 {
  margin: 20px 13px 20px 10px; }

.head_space {
  width: 250px; }

#slide {
  height: 350px;
  margin-top: -183px; }

#slide ul li {
  float: left; }

h2 {
  padding: 20px 25px 30px 10px;
  margin-top: -80px;
  text-align: left;
  height: 35px; }

.h2bg {
  background-color: #754c24;
  margin-top: -86.6px;
  height: 75px; }

/*========== コンテンツ ============*/
#contents {
  width: 960px;
  overflow: hidden;
  margin: 0 auto; }
  #contents .bnr {
    display: flex;
    justify-content: center;
    gap: 1.0rem;
    margin-bottom: 1.25rem; }
    #contents .bnr a {
      /*flex: 2;*/
      width: 50%; }
      #contents .bnr a img:hover {
        opacity: 0.8; }

.index_movie {
  height: 400px;
  width: 550px;
  margin-bottom: 20px;
  background: url(../img/movie.jpg) no-repeat; }

#fbtab {
  float: right;
  width: 360px;
  border: solid 15px #85b6e2;
  background-color: #fff;
  height: 535px; }

.fb_iframe_widget {
  margin: 0 10px; }

.page_left, .page_right {
  width: 460px; }

.page_left {
  float: left;
  margin-right: 20px; }

.page_right {
  float: right; }

.page_left p, .page_right p {
  margin-top: 1em; }

.page_left img, .page_right img {
  width: 100%; }

.contents dd {
  margin-bottom: 20px; }

.cr {
  clear: both;
  height: 20px; }

/*========== フッター ============*/
footer {
  text-align: center;
  position: relative;
  clear: both;
  margin-top: 20px;
  padding-bottom: 20px;
  font-size: 13px; }
  footer p.kome {
    font-size: 12px; }
  footer img.logo {
    padding: 10px 0 10px; }
  footer ul.sns {
    list-style: none;
    margin: 0 0 10px;
    padding: 0; }
    footer ul.sns li {
      display: inline-block;
      margin: 0 .75em; }
      footer ul.sns li img {
        width: 48px;
        height: auto; }

.page_top {
  position: absolute;
  top: -105px;
  right: 20px; }

#foot_links {
  height: 25px; }

#foot_links, #foot_links a {
  font-size: 90%;
  background-color: #754c24;
  margin: 20px 0;
  padding: 10px 0;
  color: #fff; }

#foot_links a:hover {
  opacity: 0.8; }

.foot_copy {
  font-size: 12px;
  margin-top: 20px; }

/*========= colorbox ==========*/
#cboxOverlay {
  position: fixed;
  width: 100%;
  height: 100%;
  background-color: #000;
  opacity: 0.6 !important; }

.inline {
  border: none;
  outline: none; }

#cboxWrapper, inline_content {
  border: none;
  outline: none; }

#cboxWrapper .keidi_modal img {
  max-width: 600px;
  max-height: 300px;
  padding: 20px 15px 15px 15px;
  margin: 0 auto; }

#cboxWrapper .keidi_modal h4 {
  /*border-bottom: 2px solid #c71728;*/ }

#cboxWrapper .keidi_modal h4:before,
#cboxWrapper .keidi_modal h4:after {
  content: "――";
  color: #c71728;
  padding: 0 10px; }

.keidai_close {
  width: 120px;
  height: auto !important;
  padding: 0 0 0 20px; }

.keidi_modal {
  border-radius: 20px;
  text-align: center; }

.keidi_modal img {
  /*float: left;*/
  padding-top: 1em; }

.modal_disc {
  padding: 10px 20px; }

.modal_disc p {
  padding: 20px;
  text-align: center; }

.tenant p, .tenant img {
  margin: 0;
  padding: 0 !important; }

.tenant {
  margin: 20px; }

.tenant img {
  /*width: 40%!important;*/
  margin: 0; }

.tenant p {
  /*font-size: 12pt;*/
  text-align: left;
  width: 60%;
  margin: 0 auto; }

#keidai_15 img {
  width: 45%; }

/*===== 御由緒 ======*/
#misaishin {
  line-height: 2em;
  margin: 10px 0; }

#misaishin dt {
  font-size: 180%;
  /*width: 170px;*/ }

#misaishin dd {
  margin: -1.7em 0 15px 150px; }

#misaishin p {
  font-size: 120%;
  margin-bottom: 10px;
  color: #DB3A51; }

section.gosaishin p.red {
  font-size: 120%;
  margin-bottom: .5em;
  color: #DB3A51; }
section.gosaishin ul li div.box:first-child {
  margin-bottom: .2em;
  font-size: 30px; }
  section.gosaishin ul li div.box:first-child span {
    display: inline-block;
    margin-left: .5em;
    font-size: 18px; }
section.gosaishin ul li div.box p {
  margin-bottom: 2em;
  font-size: 15px; }

/*===== 年回り ======*/
#toshimawari h4, #shichigosan h4 {
  font-size: 20pt;
  margin-top: 20px;
  padding: 0 0 0 20px;
  margin: 20px 10px; }

#toshimawari table, #toshiiwai table, #shichigosan table {
  width: 98%;
  background: #fff;
  border-collapse: collapse;
  margin: 1%;
  font-size: 110%; }

#toshimawari thead {
  text-align: center; }

.female thead {
  background-color: #DB3A51;
  color: #fff;
  font-size: 120%; }

.male thead {
  background-color: #35376D;
  color: #fff;
  font-size: 120%; }

#toshimawari tbody td:first-child {
  text-align: center; }

#toshimawari .female tbody td:first-child {
  background-color: #FFF3F9; }

#toshimawari .male tbody td:first-child {
  background-color: #F2ECFF; }

/*#toshimawari .female td:first-child{
	width: 120px;
}
#toshimawari .male td:first-child{
	width: 120px;
}*/
#toshimawari td, #toshiiwai td, #shichigosan td {
  padding: 15px 20px;
  border: 1px solid #8C8A8A; }

.shichi_left {
  width: 100px; }

.male .shichi_left {
  background-color: #F2ECFF;
  text-align: center; }

.female .shichi_left {
  background-color: #FFF3F9;
  text-align: center; }

/*#shichigosan td:first-child{
	width: 150px;
}*/
.table_left, .table_right {
  width: 49% !important;
  float: left;
  margin: 0 2px 0 0 !important; }

.table_left td:first-child, .table_right td:first-child {
  text-align: center; }

span.taiyaku {
  color: #DB3A51; }

/*======= 御祈祷・人生儀礼 ======*/
#girei_list {
  overflow: hidden;
  background-color: rgba(255, 255, 255, 0.2); }

.girei_column {
  width: 316px;
  height: auto;
  display: inline-block;
  box-sizing: border-box;
  overflow: hidden;
  padding: 20px 8px;
  margin: 10px 0; }

.girei_column img {
  width: 300px;
  margin-top: 10px; }

.girei_column h4 {
  padding: 10px 5px;
  border-left: 3px solid #C71728; }

.girei_column p {
  font-size: 11.5pt;
  line-height: 1.3em;
  padding: 5px; }

.girei_column .ruby {
  font-size: 50%;
  font-weight: normal;
  display: block; }

#girei_left {
  float: left;
  overflow: hidden;
  width: 640px; }

#girei_column1 {
  float: left; }

#girei_column2 {
  float: right;
  border-left: 1px solid #888; }

#girei_column3 {
  float: right;
  border-left: 1px solid #888; }

/*====== 神葬祭 ======*/
.shinsousai_table {
  width: 80%;
  margin: 0 auto;
  background-color: rgba(255, 255, 255, 0.3);
  text-align: center;
  border-collapse: collapse;
  margin-bottom: 10px; }

.shinsousai_dl dd {
  margin-bottom: 20px; }

.shinsousai_table td {
  padding: 20px 10px;
  border: 1px solid #8C8A8A; }

/*====== うの會 =====*/
#unokai_photo {
  margin-top: 1em; }

.unokai_logo {
  width: 120px !important;
  margin: 0 auto;
  float: left; }

#unokai_photo a {
  width: 230px;
  float: left; }

#unokai_photo img {
  width: 225px; }

/*====== 例祭 ======*/
#wp_photo dl {
  width: 230px;
  height: 150px;
  float: left;
  padding-right: 5px;
  margin-bottom: 5px;
  line-height: 0; }

#mikoshi_div {
  width: 487px;
  float: right;
  margin: 0 0 20px 20px; }

.reisai_photo a {
  width: 230px;
  flost: left; }

.reisai_photo img {
  width: 230px; }

.mikoshi_img {
  width: 230px !important; }

.trim {
  position: relative;
  width: 230px;
  height: 153px;
  overflow: hidden;
  float: left;
  padding-right: 5px; }

.trim img {
  position: absolute;
  bottom: 0; }

/*====== mediaquery ======*/
@media screen and (max-width: 1130px) {
  #contents {
    margin-bottom: 110px; } }
/*20181120追加*/
section.oinari {
  background-color: rgba(255, 255, 255, 0.2); }
  section.oinari h4 {
    border-left: 3px solid #C71728; }
    section.oinari h4 span.ruby {
      font-size: 50%;
      font-weight: normal;
      display: block; }
  section.oinari div.inner {
    padding: 20px 20px 0; }
  section.oinari table tr:first-child td {
    border-top: 1px dotted #222; }
  section.oinari table tr:nth-child(even) td {
    padding-bottom: 20px;
    border-bottom: 1px dotted #222; }
  section.oinari table tr:nth-child(odd) td {
    padding-top: 20px;
    color: #DB3A51; }
  section.oinari table tr td {
    padding: 10px;
    vertical-align: top; }
    section.oinari table tr td:first-child {
      width: 20px;
      text-align: center; }
  section.oinari p.kome {
    padding: 0 10px;
    margin-top: 1em;
    font-size: .9em; }

section.omoi div.flexbox {
  display: flex;
  justify-content: space-between; }
  section.omoi div.flexbox div.txt {
    flex: 0 0 62%;
    -ms-flex: 0 0 62%; }
  section.omoi div.flexbox div.img {
    flex: 0 0 30%;
    -ms-flex: 0 0 30%; }
    section.omoi div.flexbox div.img img {
      width: 100%; }
    section.omoi div.flexbox div.img p {
      font-size: .9em; }

section.yakudoshi {
  padding: 20px 0; }
  section.yakudoshi div.flexbox {
    display: flex; }
    section.yakudoshi div.flexbox div.box {
      margin-right: 30px; }
      section.yakudoshi div.flexbox div.box table {
        margin-top: 20px; }
        section.yakudoshi div.flexbox div.box table tr td {
          padding: 1em 1.5em;
          background: #fff;
          text-align: center; }
          section.yakudoshi div.flexbox div.box table tr td:first-child {
            background: #d9deee; }
          section.yakudoshi div.flexbox div.box table tr td p {
            display: inline-block;
            margin-bottom: 0; }
            section.yakudoshi div.flexbox div.box table tr td p.toshi {
              font-size: 42px;
              font-weight: bold;
              line-height: 1.5; }
              section.yakudoshi div.flexbox div.box table tr td p.toshi span {
                font-size: 20px;
                font-weight: normal; }
                section.yakudoshi div.flexbox div.box table tr td p.toshi span:first-child {
                  margin-right: .5em; }
                section.yakudoshi div.flexbox div.box table tr td p.toshi span:last-child {
                  margin-left: .5em; }
            section.yakudoshi div.flexbox div.box table tr td p.born {
              display: block;
              font-size: 15px; }
        section.yakudoshi div.flexbox div.box table.woman tr td:first-child {
          background: #eed9d9; }
