/* ====================================================
 * Common Style CSS
 * ===================================================*/
@charset "utf-8";

html {
  background-size: 100%;
  height: 100%;
  padding: 0;
  margin: 0;
}

body {
  background-color: #5b4d40; /* BODY背景色 */
  min-height: 100%;
  margin: 0;
  padding: 0;
  flex-direction: column;
  display: flex;
  font-size: 20px;
  font-family:
    "Hiragino Kaku Gothic ProN", Meiryo, Osaka, "MS PGothic", arial, helvetica,
    sans-serif;
}

/* ヘッダー */
header {
  background-color: #590b2c; /* ヘッダー背景色 */
  background-size: auto;
  width: 100%;
  margin: 0;
  padding: 0;
}

div#tittle {
  width: 100%;
  position: relative;
  margin: 0px 0px 0px 0px;
  text-align: center;
  background-size: contain;
}

img#topimg {
  width: 50%;
  vertical-align: bottom;
}

p#subtitle {
  position: absolute;
  top: 0;
  left: 0;
  text-align: left;
  margin: 0px 5px 0px 10px;
  font-size: medium;
  text-shadow: 1px 1px 3px black;
  color: #ffffff; /* サブタイトル文字色 */
}

@media screen and (max-width: 768px) {
  /* 表示領域が768px以下の場合に適用するスタイル */
  p#subtitle {
    font-size: small;
  }
}

p#maintitle {
  position: absolute;
  top: 30px;
  left: 0;
  text-align: left;
  margin: 0px 0px 0px 10px;
  font-size: 40px;
  font-weight: bold;
  font-family: Quicksand, sans-serif;
  text-shadow: 2px 3px 3px black;
  color: #ffffff; /* メインタイトル文字色 */
}

@media screen and (max-width: 768px) {
  /* 表示領域が768px以下の場合に適用するスタイル */
  p#maintitle {
    font-size: 30px;
    top: 15px;
  }
}

span.religious {
  font-size: 0.7em;
}

/* メイン */
section {
  color: #1c070d; /* コンテンツ文字色 */
  text-align: center;
  /* コンテンツ背景色 */
  background: -moz-linear-gradient(
    left,
    #ffefe4,
    #fffdff 3%,
    #fffdff 97%,
    #ffefe4
  );
  background: -webkit-linear-gradient(
    left,
    #ffefe4,
    #fffdff 5%,
    #fffdff 95%,
    #ffefe4
  );
  background: linear-gradient(
    to right,
    #ffefe4,
    #fffdff 3%,
    #fffdff 97%,
    #ffefe4
  );
}

div.page_block {
  margin-top: 20px;
}

/* ページ初期非表示　ボタンを増やす場合はここも増やす */
div#block_01 {
  display: none;
}
div#block_02 {
  display: none;
}
div#block_03 {
  display: none;
}
div#block_04 {
  display: none;
}
div#block_05 {
  display: none;
}

/* 中央抜きバー */
p.fadeout_border {
  display: flex;
  align-items: center;
  font-size: 20px;
  color: gray; /* 中央抜きバー文字色及び線色 */
}
p.fadeout_border:before,
p.fadeout_border:after {
  content: "";
  flex-grow: 1;
  height: 1px;
  display: block;
}
p.fadeout_border:before {
  margin-right: 0.4em;

  background: linear-gradient(-90deg, gray, transparent);
}
p.fadeout_border:after {
  margin-left: 0.4em;
  background: linear-gradient(90deg, gray, transparent);
}

/* 各要素 */

.slogan {
  font-weight: bold;
  margin: 5px;
}

div.keep_left {
  width: 65%;
  margin: auto;
  text-align: left;
  margin-bottom: 15px;
}

div.keep_left a:link {
  color: #8094ae;
}
div.keep_left a:hover {
  color: #9d283a;
}
div.keep_left a:visited {
  color: #7378aa;
}

div.d_qa_q {
  margin-bottom: 15px;
}

span.s_qa_q {
  font-weight: bold;
  color: #101011; /* ＱＡ質問文字色 */
}

div.d_qa_a {
  margin-bottom: 25px;
}

p.p_qa_a {
  padding-left: 1em;
  text-indent: -1.4em;
}

div.text {
  width: 65%;
  margin: auto;
}

div.textw {
  width: 528px;
  text-align: left;
  margin: auto;
}

div.textl {
  width: 53%;
  margin: auto;
  text-align: left;
}

div.textc {
  width: 80%;
  margin: auto;
  text-align: center;
}

@media screen and (max-width: 768px) {
  /* 表示領域が768px以下の場合に適用するスタイル */
  div.text {
    width: 80%;
    text-align: left;
  }
  div.textw {
    width: 80%;
    text-align: left;
  }
  div.textl {
    width: 80%;
  }
  div.textc {
    width: 90%;
  }
}

p.p_right {
  margin-left: auto;
  text-align: right;
  font-size: 20px;
}
@media screen and (max-width: 540px) {
  /* 表示領域が540px以下の場合に適用するスタイル */
  p.p_right {
    font-size: 14px;
  }
}

div.d_W50 {
  width: 50%;
  margin: 0 auto;
}
div.d_W70 {
  width: 70%;
  margin: 0 auto;
}
@media screen and (max-width: 768px) {
  /* 表示領域が768px以下の場合に適用するスタイル */
  div.d_W50 {
    width: 100%;
  }
  div.d_W70 {
    width: 100%;
  }
}

ul.mk-none {
  list-style-type: none;
}

ul.mk-disc {
  list-style-type: disc;
}

div.box {
  width: 55%;
  margin: auto;
  padding: 0 0.5em;
  background-color: white;
  filter: drop-shadow(2px 2px 2px rgba(0, 0, 0, 0.6));
  color: black; /* BOX内文字色 */
  text-align: left;
  margin-bottom: 15px;
  white-space: pre; /* CSS 2.0 */
  white-space: pre-wrap; /* CSS 2.1 */
  white-space: pre-line; /* CSS 3.0 */
  white-space: -pre-wrap; /* Opera 4-6 */
  white-space: -o-pre-wrap; /* Opera 7 */
  white-space: -moz-pre-wrap; /* Mozilla */
  white-space: -hp-pre-wrap; /* HP Printers */
  word-wrap: break-word; /* IE 5+ */
}
@media screen and (max-width: 768px) {
  /* 表示領域が768px以下の場合に適用するスタイル */
  div.box {
    width: 85%;
  }
}

div.large_frame {
  width: 65%;
  border-radius: 10px;
  display: inline-block;
  filter: drop-shadow(4px 4px 4px rgba(0, 0, 0, 0.6));
  margin: 10px;
  padding-bottom: -10px;
}

div.large_frame img {
  width: 100%;
  border-radius: 10px;
}

div.medium_frame {
  width: 70%;
  max-width: 700px;
  border-radius: 10px;
  display: inline-block;
  filter: drop-shadow(4px 4px 4px rgba(0, 0, 0, 0.6));
  margin: 10px;
  padding-bottom: -10px;
}

div.medium_frame img {
  width: 100%;
  border-radius: 10px;
}

div.vertical_frame {
  width: 30%;
  border-radius: 10px;
  display: inline-block;
  filter: drop-shadow(4px 4px 4px rgba(0, 0, 0, 0.6));
  margin: 10px;
  padding-bottom: -10px;
}

div.vertical_frame img {
  width: 100%;
  border-radius: 10px;
}

div.small_frame {
  width: 45%;
  border-radius: 10px;
  display: inline-block;
  filter: drop-shadow(4px 4px 4px rgba(0, 0, 0, 0.6));
  margin: 10px;
  padding-bottom: -10px;
}

div.small_frame img {
  width: 100%;
  border-radius: 10px;
}

div.mini_frame {
  width: 10%;
  border-radius: 10px;
  display: inline-block;
  padding-bottom: -10px;
  margin-bottom: 10px;
}

div.mini_frame img {
  width: 100%;
  border-radius: 10px;
  opacity: 1;
}

div.face_frame {
  width: 15%;
  border-radius: 10px;
  display: inline-block;
  filter: drop-shadow(4px 4px 4px rgba(0, 0, 0, 0.6));
  margin: 10px;
  padding-bottom: -10px;
}

div.face_frame img {
  width: 100%;
  border-radius: 10px;
}

@media screen and (max-width: 768px) {
  /* 表示領域が768px以下の場合に適用するスタイル */
  div.large_frame {
    width: 80%;
  }
  div.medium_frame {
    width: 90%;
  }
  div.vertical_frame {
    width: 50%;
  }
  div.mini_frame {
    width: 30%;
  }
  div.face_frame {
    width: 30%;
  }
}
@media screen and (max-width: 320px) {
  /* 表示領域が320px以下の場合に適用するスタイル */
  div.large_frame {
    width: 90%;
  }
  div.medium_frame {
    width: 90%;
  }
  div.vertical_frame {
    width: 65%;
  }
  div.mini_frame {
    width: 30%;
  }
  div.face_frame {
    width: 45%;
  }
}

div.gmap_frame {
  position: relative;
  display: inline-block;
  padding-bottom: 56.25%;
  padding-top: 30px;
  height: 0;
  width: 70%;
  overflow: hidden;
}

div.gmap_frame iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

div.movie_frame {
  position: relative;
  display: inline-block;
  padding-bottom: 56.25%;
  padding-top: 30px;
  height: 0;
  width: 70%;
  overflow: hidden;
}

div.movie_frame iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

div.blog_frame {
  position: relative;
  display: inline-block;
  padding-bottom: 0%;
  padding-top: 80%;
  /*
  padding: calc(1100 / 1864 * 100%) 0 0;
  */
  height: 0;
  width: 98%;
  overflow: hidden;
}

div.blog_frame iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 1px black solid;
}

/* safari用設定 */
@media screen and (-webkit-min-device-pixel-ratio: 0) {
  div.blog_frame {
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    width: 100%;
    height: 200px;
  }
}

audio {
  width: 40%;
  margin-bottom: 2em;
}

video {
  width: 70%;
}

@media screen and (max-width: 768px) {
  /* 表示領域が768px以下の場合に適用するスタイル */
  audio {
    width: 60%;
  }
  video {
    width: 80%;
  }
}
@media screen and (max-width: 320px) {
  /* 表示領域が320px以下の場合に適用するスタイル */
  audio {
    width: 80%;
  }
  video {
    width: 90%;
  }
}

table.tbl-icm td:nth-child(1) {
  vertical-align: top;
  padding-left: 0.4em;
  padding-right: 0.5em;
}

img.seated {
  height: 1.2em;
}

div.div-worship1 {
  width: 95%; /* IE8以下とAndroid4.3以下用フォールバック */
  width: -webkit-calc(100% - (100% - 35em));
  width: calc(100% - (100% - 35em));
  margin: 0 auto;
}

@media screen and (max-width: 1200px) {
  /* 表示領域が1200px以下の場合に適用するスタイル */
  div.div-worship1 {
    width: 95%;
  }
}

table.tbl-worship1 {
  margin-left: auto;
}

table.tbl-worship1 td:nth-child(1) {
  padding-right: 1.5em;
}

table.tbl-worship1 td:nth-child(2) {
  padding-right: 1em;
}

table.tbl-worship1 td:nth-child(3) {
  padding-right: 1em;
}

table.tbl-worship2 {
  margin: 0 auto;
}

table.tbl-worship2 td:nth-child(1) {
  font-weight: bold;
  width: 4.5em;
}
table.tbl-worship2 td:nth-child(2) {
  padding-left: 1.5em;
}

td.td-duty {
  font-weight: normal !important;
}

table.tbl-meeting td {
  vertical-align: top;
}

table.tbl-meeting td:nth-child(1) {
  min-width: 6.5em;
}

table.tbl-meeting td:nth-child(2) {
  min-width: 6em;
  padding-left: 0.5em;
}

span.bank {
  display: inline-block;
}

td.pd06 {
  padding-left: 0.6em;
}

div.div-col {
  width: 100%;
  display: flex;
  flex-wrap: wrap;
}

div.div-col div:nth-child(1) {
  width: 2.5em;
  padding-left: 0.5em;
}
div.pd15 {
  padding-left: 1.5em;
}
div.pd21 {
  padding-left: 2.1em;
}

.floatLeft {
  float: left;
}

.clearALL {
  clear: all;
}

/* 項目ボタン */

div.flex-container {
  width: 85%;
  margin: auto;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: space-between;
}

.square_btn {
  width: 13%;
  position: relative;
  display: inline-block;
  padding: 0.25em 0.5em;
  text-decoration: none;
  color: white; /* ボタン文字色 */
  background: #590b2c; /* ボタン背景基本色 */
  border-bottom: solid 2px #39000c; /* ボタン影色 */
  border-radius: 4px; /* 角の丸み */
  box-shadow:
    inset 0 2px 0 rgba(255, 255, 255, 0.2),
    0 2px 2px rgba(0, 0, 0, 0.19);
  font-family:
    "Hiragino Kaku Gothic ProN", Meiryo, Osaka, "MS PGothic", arial, helvetica,
    sans-serif;
  font-weight: bold;
}

.btn_color_active a:link,
.btn_color_active a:visited,
.btn_color_active a:hover {
  color: #fdea9b; /* アクティブボタン文字色 */
}

@media screen and (max-width: 768px) {
  /* 表示領域が768px以下の場合に適用するスタイル */
  .square_btn {
    width: 42%;
  }
}

.square_btn:active {
  border-bottom: solid 2px #6b3f31; /* ボタン影色 */
  box-shadow: 0 0 2px rgba(0, 0, 0, 0.3);
}

span.btn_chr_main {
  font-size: 18px;
}

span.btn_chr_sub {
  font-size: 10px;
}

/* フッター */
footer {
  display: flex;
  justify-content: space-around;
  width: 100%;
  background-color: #590b2c; /* フッター背景色 */
  color: white; /* フッター文字色 */
  text-align: left;
  font-size: 10px;
}

footer a:link {
  color: white;
} /* フッターリンク未読文字色 */
footer a:hover {
  color: white;
} /* フッターリンク選択文字色 */
footer a:visited {
  color: white;
} /* フッターリンク既読文字色 */

footer table {
  width: 100%;
}

footer td.left {
  text-align: right;
  vertical-align: top;
}

/* アコーディオン設定 */
div.acd {
  display: none;
}
a.acd-link {
  text-decoration: none;
}
a.acd-link:link {
  color: #c02557;
}
a.acd-link:visited {
  color: #e37397;
}
a.acd-link:hover {
  color: #dd5380;
}

div.textl a {
  text-decoration: none;
}
div.textl a:link {
  color: #2e4b8f;
}
div.textl a:visited {
  color: #2e4b8f;
}
div.textl a:hover {
  color: #9d283a;
}

/* 一般ボタン */
a.btn-normal {
  padding: 0 5px;
  color: white;
  background-color: #590b2c;
  border-radius: 100vh;
  text-decoration: none;
}

div.center {
  margin: 0 auto;
  text-align: center;
}

span.red {
  color: #d53636;
}

span.nobreak {
  display: inline-block;
}

a.ytb-link-btn {
  display: inline-block;
  padding: 10px 20px;
  margin: 12px 0 0 0;
  width: 11.5em;
  background-color: #c7082f;
  color: #fefefe;
  text-decoration: none;
  border-radius: 5px;
  font-size: 16px;
  font-weight: bold;
  border: none;
}
div.textl a.ytb-link-btn:hover,
div.textl a.ytb-link-btn:visited {
  color: #fefefe;
}
div.textl a.ytb-link-btn:hover {
  background-color: #e00a34;
  color: #fefefe;
}

/* ブログリンク */
a.link-blog {
  display: block;
  max-width: 720px;
  width: 90%;
  font-size: 22px;
  margin-top: 2em;
  margin-left: auto;
  margin-right: auto;
  padding: 1.3em;
  border: 1px solid #3d131c;
  border-radius: 5px;
  background-color: #fde5df;
  text-decoration: none;
  transition: transform 0.3s ease;
}
a.link-blog:link,
a.link-blog:visited {
  color: #522727;
}

a.link-blog:hover {
  background-color: #fff5ef;
  transform: scale(1.03);
}

/* ブログタイトルカード */
div#blog_frame a {
  display: block;
  position: relative;
  max-width: 780px;
  width: 90%;
  padding: 0.7em;
  margin: 0 auto 0.8em auto;
  text-align: left;
  text-decoration: none;
  border: 1px solid #3d131c;
  border-radius: 5px;
  background-color: #fde5df;
  transition: transform 0.3s ease;
}
div#blog_frame a > div.blog-bottom {
  position: absolute;
  bottom: 0;
}
div#blog_frame a:hover {
  background-color: #fff5ef;
  transform: scale(1.03);
}
div#blog_frame a:link,
div#blog_frame a:visited {
  color: #333;
}
div#blog_frame h4 {
  font-size: 20px;
  margin-top: 0;
  margin-bottom: 0.7em;
}
div#blog_frame span.blog-date {
  display: inline-block;
  margin-right: 1.5em;
  font-size: 0.9em;
  color: rgb(54, 54, 54);
}
div#blog_frame span.blog-subject {
  font-size: 0.9em;
  font-style: italic;
  color: rgb(54, 54, 54);
}
/* ブログ記事 */
div#blog_frame div.blog-article {
  display: none;
  max-width: 780px;
  width: 90%;
  margin: 0 auto 1.2em auto;
  padding: 0.9em 0.5em;
  text-align: left;
  background-color: #fdfcfa;
}
