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

:root {
  --block-num: 8;
  --main-bg-color: #fdfdf2;
  --main-bg-start: #FFFF99;
  --main-btn-color: #6a471c;
  --main-btn-shadow: #4a2700;
}


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

body {
  background-color: var(--main-bg-color);   /* 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: #feddba;   /* ヘッダー背景色 */
  background-size: 100%;
  background-repeat: no-repeat;
  width: 100%;
  margin: 0;
  padding: 0;
}

div#tittle {
  width: 100%;
  position:relative;
  margin: 0px 0px 0px 0px;
  text-align: center;
  background: -moz-linear-gradient(left, rgba(255,255,255,0), rgba(255,255,255,0) 20%, rgba(249,248,244,1) 30%, rgba(249,248,244,1) 70%, rgba(255,255,255,0) 80%, rgba(255,255,255,0));
  background: -webkit-linear-gradient(left, rgba(255,255,255,0), rgba(255,255,255,0) 20%, rgba(249,248,244,1) 30%, rgba(249,248,244,1) 70%, rgba(255,255,255,0) 80%, rgba(255,255,255,0));
  background: linear-gradient(to right, rgba(255,255,255,0), rgba(255,255,255,0) 20%, rgba(249,248,244,1) 30%, rgba(249,248,244,1) 70%, rgba(255,255,255,0) 80%, rgba(255,255,255,0));
}

div#header-container {
  margin: 0 auto;
  text-align: center;
}

div#topimg-container {
  float: right;
  margin-right: -webkit-calc(50% - 372px);
  margin-right: calc(50% - 372px);
}

img.topimg-vertical {
  width: 460px;
  vertical-align:top;
}

img.toplimg-horizontal {
  width: 30%;
  vertical-align:center;
}
img.topcimg-horizontal {
  width: 38%;
  vertical-align:bottom;
}
img.toprimg-horizontal {
  width: 30%;
  vertical-align:center;
}

@media screen and (max-width: 768px) {
   /* 表示領域が768px以下の場合に適用するスタイル */
   div#topimg-container {
      float: none;
      margin-right: 0;
   }
   img.topimg-vertical { width: 100%; }
   img.toplimg-horizontal { display: none; }
   img.topcimg-horizontal { width: 100%; }
   img.toprimg-horizontal { display: none; }
}

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

@media screen and (max-width: 768px) {
   /* 表示領域が768px以下の場合に適用するスタイル */
   p#subtitle { font-size: x-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: 6vw;
    top: 15px;
  }
}

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




/* メニュー項目 */

/* メニューボタン共通設定 */

.menu_btn {
    text-decoration: none;
    color: white;                       /* 非アクティブボタン文字色 */
    background: var(--main-btn-color);                  /* ボタン基本色 */
    border: solid 1px var(--main-btn-color);            /* ボタン縁取り */
    border-radius: 4px;                   /* 角の丸み */
    box-shadow: inset 0 3px 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 {
    color: #f5e07c;                      /* アクティブボタン文字色 */
}

.menu_btn:active {
    background: var(--main-btn-color);
    box-shadow: 0 0 3px rgba(0, 0, 0, 0.30);
}

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

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

/* 縦メニュー設定 */

div#menu {
    width: 100%;
    margin-left: -webkit-calc(50% - 375px);
    margin-left: calc(50% - 375px);
}

div.flex-container-vertical {
    position: relative;
    top: 86px;
    width: 100%;
    margin: auto;
    display: block;
    text-align: center;
}

.mbtn-vertical {
    width : 258px;
    position: relative;
    display: block;
    margin: 1px 0px 2px 0px;
    padding: 0.4em 0.5em 0.25em 0.5em;
    text-decoration: none;
}

@media screen and (max-width: 768px) {
   /* 表示領域が768px以下の場合に適用するスタイル */
    div#menu {
         width: 100%;
         margin-left: 0;
    }
    div.flex-container-vertical {
        top: 0px;
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: space-between;
    }
    div#menu {}
    .mbtn-vertical {
       display: inline-block;
       width : -webkit-calc(50% - 5px - 1.0em);
       width: calc(50% - 5px - 1.0em);
    }
}


/* 横メニュー設定 */
div.flex-container-horizontal {
    width: 85%;
    margin: auto;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-between;
}

.mbtn-horizontal {
    width: calc( (100% - var(--block-num)*30px) / var(--block-num) );
    position: relative;
    display: inline-block;
    padding: 0.25em 0.5em;
}

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




/* メイン */

section {
  color: #221d0d;              /* コンテンツ文字色 */
  text-align:center;
  /* コンテンツ背景色 */
  background: -moz-linear-gradient(left, var(--main-bg-start), var(--main-bg-color) 3%, var(--main-bg-color) 97%, var(--main-bg-start));
  background: -webkit-linear-gradient(left, var(--main-bg-start), var(--main-bg-color) 5%, var(--main-bg-color) 95%, var(--main-bg-start));
  background: linear-gradient(to right, var(--main-bg-start), var(--main-bg-color) 3%, var(--main-bg-color) 97%, var(--main-bg-start));
}

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;}
div#block_06 {display:none;}
div#block_07 {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: .4em;
  
  background: linear-gradient(-90deg, gray, transparent);
}
p.fadeout_border:after {
  margin-left: .4em;
  background: linear-gradient(90deg, gray, transparent);
}




/* 各要素 */


/* 文章成型用 */

span.bank {
  display: inline-block;
}

p.right {
  display: block;
  text-align: right;
}

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


a.link:link    {color: #245b58;}
a.link:hover   {color: #cf3466;}
a.link:visited {color: #245b58;}

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: -1em;
}


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.textr {
  width: 53%;
  margin: auto;
  text-align: right;
}

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.textr {
    width: 80%;
  }
  div.textc {
    width: 90%;
  }
}

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: 50%;
  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.tiny_frame {
  width: 25%;
  border-radius: 10px;
  display: inline-block;
  padding-bottom: -10px;
  margin-bottom:  10px;
}

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

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.0;
}

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;
}

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

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

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


/* メディア埋め込み用 */

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: 56.25%;
  padding-top: 30px;
  height: 0;
  width: 98%;
  overflow: hidden;
}

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

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

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

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

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%;  }
}


/* 目隠し用 */

div.hide_frame {
  visibility: hidden;
}
input#tbx_pass {
  font-size: 100%;
  width: 120px;
}
div#btn_pass {
  display: inline-block;
  margin-left: 5px;
  width: 3em;
  background-color: white;
  border: 1px solid #000000;
  box-shadow: 0px 3px #bfbfbf;
  border-radius: 10px;
  margin-bottom: 10px;
}
div#btn_pass:active {
  box-shadow: none;
  position: relative;
  top: 3px;
}



.floatLeft {
  float: left;
}

.clearALL {
  clear: all;
}




/* フッター */
footer {
    display: flex;
    justify-content: space-around;
    width: 100%;
    background-color: var(--main-btn-color);   /* フッター背景色 */
    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;
}


/* 教会個別設定 */


/* Youtubeチャンネルリンクボタン */
img.youtuble-ch-link {
  width: 90%;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

a.youtube-url-link {
  text-decoration:none;
}

span.youtube-url-link {
  font-size: 3vw;
  padding: 1rem 3rem;
  -webkit-transform: skew(-15deg);
  transform: skew(-15deg);
  border: 3px solid #2149c1;
  border-radius: 10px;
  color: #fff;
  background-image: -webkit-gradient(linear, left top, right top, from(#209cff), to(#68e0cf));
  background-image: -webkit-linear-gradient(left, #209cff 0%, #68e0cf 100%);
  background-image: linear-gradient(to right, #209cff 0%, #68e0cf 100%);
}

div.youtube_link.add {
  margin-top: 3em;
}
span.youtube-url-link.add {
  margin-left: 10px;
  border: 3px solid #f2947e;
  background-image: -webkit-gradient(linear, left top, right top, from(#d54c5f), to(#fbcca2));
  background-image: -webkit-linear-gradient(left, #d54c5f 0%, #fbcca2 100%);
  background-image: linear-gradient(to right, #d54c5f 0%, #fbcca2 100%);
}

/* TOPへ戻るボタンと問い合わせボタン */
a.btn-backtotop, a.btn-contact{
  margin-top: 1.5em;
  color: white;
  background-color: var(--main-btn-color);
  border-radius: 10vh;
  text-decoration: none;
}
a.btn-backtotop:hover,  a.btn-contact:hover{
  color: lavenderblush;
  background: #866e5c;
}

table.organ-prog tr td:nth-child(1){
  width: 5em;
  vertical-align: top;
}

table.aubertin-biography tr td:nth-child(1){
  width: 4em;
  vertical-align: top;
}

a.pdf-link {
  font-size: 1.2em;
}

p.meeting-describe {
  margin-left: 2em;
}
