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

* {
  margin: 0;
}

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

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

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

div#tittle {
  width: 100%;
  position:relative;
  margin: 0px 0px 0px 0px;
}

div#tittle img {
  width: 100%;
  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: 750px) {
   /* 表示領域が750px以下の場合に適用するスタイル */
   p#subtitle { font-size: small;}
}

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

p#maintitle {
  position:absolute;
  top: 25px;
  left: 0;
  text-align: left;
  margin: 0px 0px 0px 10px;
  font-size: xx-large;
  font-weight: bold;
  font-family: 'YuGothic', 'Yu Gothic', Quicksand, sans-serif;
  text-shadow: 2px 3px 3px black;
  color: #FFFFFF;              /* メインタイトル文字色 */
}

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

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

/* メイン */
section {
  color: steelblue;
  background-color: #EFFFEF;   /* コンテンツ背景色 */
  text-align:center;
  margin: 0;
  padding: 0;
  border: none;
}

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: 16px;
  color: gray;              /* 中央抜きバー文字色及び線色 */
  margin-top: 10px;
}
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);
}


/* 各要素 */

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

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

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

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

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

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


div.box {
  width: 55%;
  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: 750px) {
  /* 表示領域が750px以下の場合に適用するスタイル */
  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: 10px;
  padding-bottom: -10px;
}

div.large_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.gmap {
  position: relative;
  display: inline-block;
  padding-bottom: 56.25%;
  padding-top: 30px;
  height: 0;
  width: 70%;
  overflow: hidden;
}

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

.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: 17%;
    position: relative;
    display: inline-block;
    padding: 0.25em 0.5em;
    text-decoration: none;
    color: white;                       /* 非アクティブボタン文字色 */
    background: #009944;                /* ボタン背景色 */
    border-bottom: solid 2px #007924;   /* ボタン影色 */
    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 {
    color: yellow;                      /* アクティブボタン文字色 */
}

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

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

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

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

table.table_flexed {
  table-layout: fixed;
}

td.td_left {
  text-align: left;
}

td.td_right {
  text-align: right;
}

td.td_center {
  text-align: center;
}

td.td_year {
  text-align: center;
  vertical-align: top;
  width: 64px;
}

td.td_month {
  vertical-align: top;
  width: 40px;
}

td.td_day {
  vertical-align: top;
  width: 40px;
}


div.weekly-wrap {
  position: relative;
  width: 90%;
  padding-top: 35%;
  overflow:auto;
  margin-left: auto;
  margin-right: auto;
  -webkit-overflow-scrolling:touch;

}
@media screen and (max-width: 1200px) {
   div.weekly-wrap { padding-top: 45%;}
}
@media screen and (max-width: 1100px) {
   div.weekly-wrap { padding-top: 55%;}
}
@media screen and (max-width: 1000px) {
   div.weekly-wrap { padding-top: 65%;}
}
@media screen and (max-width: 900px) {
   div.weekly-wrap { padding-top: 75%;}
}
@media screen and (max-width: 800px) {
   div.weekly-wrap { padding-top: 85%;}
}
@media screen and (max-width: 700px) {
   div.weekly-wrap { padding-top: 95%;}
}
@media screen and (max-width: 600px) {
   div.weekly-wrap { padding-top: 95%;}
}



.weekly-wrap iframe.weeklyreport {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: white;
  border:none;
}



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

