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


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

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

/* ヘッダー */
header {
  background-color: #A9D08E;   /* ヘッダー背景色 */
  background-size: auto;
  width: 100%;
  margin: 0;
  padding: 0;
  background-image: url("./images/top_back.png");
/*  background-image: url("./images/top_back_2023sp.jpg"); */
  background-repeat: no-repeat;
  background-size: cover;
}

div#tittle {
  width: 100%;
  vertical-align: top;
}

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 {
  width: 463px;
  vertical-align:top;
}
div#topimgcr {
  color: white;
  font-size: 0.7em;
}

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

p#subtitle {
  text-align: center;
  vertical-align: top;
  margin: 0;
  font-size: 1.1em;
  text-shadow: 1px 1px 3px #89B06E;
/*  text-shadow: 1px 1px 3px #ffb6c1; */
  color: #302833;              /* サブタイトル文字色 */
}
@media screen and (max-width: 768px) {
   /* 表示領域が768px以下の場合に適用するスタイル */
   p#subtitle { font-size: small;}
}

p#maintitle {
  text-align: center;
  vertical-align: top;
  margin: 0;
  font-size: 2.2em;
  font-weight: bold;
  font-family :Quicksand, sans-serif;
  text-shadow: 2px 3px 3px #89B06E;
/*  text-shadow: 2px 3px 3px #ffb6c1; */
  color: #302833;              /* メインタイトル文字色 */
}


/* メイン */
section {
  color: #3f312b;              /* 基本文字色 */
/*  background-color: #A9D08E;    コンテンツ背景色 */
  background: -moz-linear-gradient(top, #A9D08E 5%, #E8FFE8);   /* コンテンツ背景色 */
  background: -webkit-linear-gradient(top, #CBE9BB 5%, #A9D08E);
  background: linear-gradient(to bottom, #CBE9BB 5%, #A9D08E);
  text-align:center;
}

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: 19px;
  color: #432f2f;              /* 中央抜きバー文字色及び線色 */
}
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);
}
p.fadeout_border.no_contents:before {
  margin-right: 0;
}
p.fadeout_border.no_contents:after {
  margin-left: 0;
}

/* 各要素 */

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

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

span.bank {
  display: inline-block;
}

div.text {
  width: 65%;
  max-width: 750px;
  margin: auto;
}
div.textl {
  width: 65%;
  max-width: 750px;
  margin: auto;
  text-align: left;
}
div.textc {
  width: 65%;
  max-width: 750px;
  margin: auto;
  text-align: center;
}
br.ps-br {
  display: block;
}
@media screen and (max-width: 768px) {
  /* 表示領域が768px以下の場合に適用するスタイル */
  div.text {
    width: 80%;
    text-align: left;
  }
  div.textl {
    width: 80%;
  }
  div.textc {
    width: 80%;
  }
  br.ps-br {
    display: none;
  }
}


a:link    {color: darkblue;}
a:visited {color: darkblue;}
a:hover   {color: firebrick;}
a:active  {color: firebrick;}


div.box {
  width: 65%;
  max-width: 750px;
  margin: auto;
  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.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: #DC143C;}
div.keep_left a:visited {color: #B8860B;}

div.large_frame {
  width: 65%;
  border-radius: 10px;
  display: inline-block;
  filter: drop-shadow(4px 4px 4px rgba(0,0,0,0.6));
  margin: 4px 10px 10px 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: 4px 10px 10px 10px;
  padding-bottom: -10px;
}
div.medium_frame img {
  width: 100%;
  border-radius: 10px;
}

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

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

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

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

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

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

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

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

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

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

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

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

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

iframe#blog{
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}

*/
iframe#blog{
  width: 100%;
  border: none;
}

body.blog_body {
  background: #d6e9ca;
}
p.blog_title {
  margin: 0 auto;
  font-size: 2em;
}
a.article_date {
  margin-left: 0.4em;
  font-size: 1.2em;
}
a.article_date:hover   {color: black;}

a.article_title {
  margin-left: 0.6em;
  font-size: 1.8em;
}
a.article_title:link    {color: darkblue;}
a.article_title:visited {color: darkblue;}
a.article_title:hover   {color: firebrick;}
a.article_title:active  {color: firebrick;}

div.article_description {
  margin-left: 1em;
  margin-bottom: 2em;
  font-size: 1em;
}
div.article_description p {
  padding: 0;
  margin: 0;
}
img.article_image {
  margin-left: 1em;
  width: 100px;
}

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

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

div.meeting-container {
  display: flex;
  flex-direction: row;
  flex-flow: row wrap;
  margin: 1em 1em;
}
div.meeting-title {
  flex-grow: 0;
  text-align: left;
}
div.meeting-time {
  flex-grow: 1;
  text-align: center;
}

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

table.tbl-mgnl005em {
  margin-left: 0.5em;
}

td.td_month {
  width: 4.5em;
  vertical-align: top;
}

td.td_top {
  vertical-align: top;
}

td.td_bottom {
  vertical-align: bottom;
}

td.td_left {
  text-align: left;
}

td.td_right {
  text-align: right;
}

.floatLeft {
  float: left;
}

.clearALL {
  clear: all;
}


/* 項目ボタン */

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

div.flex-container {
    width: 100%;
    margin: auto;
    display: block;
    text-align: center;
}

a.square_btn {
    width : 258px;
    position: relative;
    display: block;
    margin: 1px 0px 2px 0px;
    padding: 0.4em 0.5em 0.25em 0.5em;
    text-decoration: none;
    color: #302833;                     /* 非アクティブボタン文字色 */
    background: #FFF2CC;                /* ボタン基本色 */
    border: solid 2px #2e2930;          /* ボタン枠色 */
    border-radius: 1px;                 /* 角の丸み */
    font-family: 'Hiragino Kaku Gothic ProN', Meiryo, Osaka, 'MS PGothic', arial, helvetica,sans-serif;
    font-weight: bold;
}

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

a.btn_color_active {
    color: #640125;                      /* アクティブボタン文字色 */
    background: #fddea5;                 /* アクティブボタン基本色 */
}

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

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

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


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

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

footer table{ width: 100%;}

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

