#template section:nth-child(n+2){
  padding: 0;
}
/* 要素 */
#template div{
  clear: both;
  line-height: 1.7;
  margin: 0;
}
/* 要素：横並び */
#template div.flex{
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}
/* 要素：画面幅半分 */
#template .half{
  width: 48%;
}
/* 要素：要素画面幅三分の一 */
#template .third{
  width: 31%;
}

/* 段落 */
#template p{
  line-height: 1.7;
  margin: 1em 0;
}
/* ※付き注釈 */
#template p.notes{
  text-indent: -1em;
  margin:-1em 0 -1em 1em;
}
#template p.notes::before{
  content:"※"
}
/* テキスト右寄せ */
#template p.text_right{
  text-align: right;
}

/* 引用 */
#template blockquote{
  background: #F2F2F2;
  padding: 0.5em 1.5em;
  margin: 1em 0;
}

/* リンク */
#template a{
  font-size: 16px;
  color: #007CA4;
  font-weight: 700;
  margin: 0;
}
#template a:hover{
  text-decoration: underline;
}
/* サイト内リンクマーク */
#template a.link::after{
  content: url("../img/icn_link.svg");
  display: inline-block;
  vertical-align: middle;
  margin-left: 3px;
}
/* 外部リンクマーク */
#template a.linkout::after{
  content: url("../img/icn_linkout.svg");
  display: inline-block;
  vertical-align: middle;
  margin-left: 3px;
}

/* 画像 */
#template img{
  margin: 1em 0;
  width: 100%;
}
/* 画像回り込みレイアウト */
#template .flex_left{
  display: flex;
  justify-content: flex-start;
}
#template .flex_right{
  display: flex;
  justify-content: space-between;
  flex-direction: row-reverse;
}
#template .flex_left div,
#template .flex_right div{
  margin-bottom: 1em;
}
#template .flex_left img{
  width: inherit;
  margin-right: 1em;
}
#template .flex_right img{
  width: inherit;
  margin-left: 1em;
}

/* 大見出しh3 */
#template h3{
  clear: both;
  font-size: 18px;
  font-weight: 700;
  color: #FFF;
  background: #007CA4;
  padding: 14px 20px;
  width: 100%;
  margin: 1.5em 0 1em 0;
}
/* 中見出しh4 */
#template h4{
  clear: both;
  font-size: 18px;
  font-weight: 700;
  color: #007CA4;
  border-bottom: 1px solid #69AFC7;
  padding-bottom: 0.5em;
  margin: 1.5em 0 1em 0;
  line-height: 1.4;
}
/* 見出しh5 */
#template h5{
  clear: both;
  font-size: 16px;
  font-weight: 700;
  color: #007CA4;
  margin-top: 1.5em;
  line-height: 1.4;
}

/* 強調 */
#template .strong{
  font-weight: 700;
}
#template span.red{
  color: #ea4b70;
  font-weight: 700;
}
#template span.blue{
  color: #2c5ed0;
  font-weight: 700;
}

/* ラベル黄色 */
#template span.label_yellow{
  background: #FEC909;
  color: #404040;
  height: 20px;
  font-size: 12px;
  padding: 1px 0.7em;
  margin:0 0.5em;
}
/* ラベル赤 */
#template span.label_red{
  background: #EA4B70;
  color: #FFF;
  height: 20px;
  font-size: 12px;
  padding: 1px 0.7em;
  margin:0 0.5em;
}

/* テーブル */
#template table caption{
  font-weight: 700;
  margin: 0.5em  0 1em 0;
}
#template table{
  width:100%;
  margin: 1em 0;
}
#template table th,
#template table td{
  border: 1px solid #E0E0E0;
  padding: 1em;
  line-height: 1.4;
}
#template table th{
  background: #F2F2F2;
}

/* バナー青 */
#template a.bnr_blue{
  display: block;
  width: 465px;
  background: #47B6BE;
  font-size: 18px;
  color: #FFF;
  font-weight: 700;
  padding: 1em;
  text-align: center;
  transition: all .2s ease;
  margin: 0;
}
#template a.bnr_blue:hover{
  background: #007CA4;
}
#template a.bnr_blue:hover{
  text-decoration: none;
}
/* バナー黄色 */
#template a.bnr_yellow{
  display: block;
  width: 465px;
  background: #FEC909;
  font-size: 18px;
  color: #FFF;
  font-weight: 700;
  padding: 1em;
  text-align: center;
  transition: all .2s ease;
  margin: 0;
}
#template a.bnr_yellow:hover{
  background: #007CA4;
}
#template a.bnr_yellow:hover{
  text-decoration: none;
}

/* リスト */
#template ul,
#template ol{
  margin: 1em 0 0.5em 0;
}
#template ul li,
#template ol li{
  margin:0.3em 0 0 1.5em;
  line-height: 1.7;
}
#template ol li ul{
  margin:0;
}
#template ol li ul li{
  margin:0 0 0 1.5em;
}
#template ul > li{
  list-style: disc;
}
/* 漢数字リスト */
#template ol.kanji > li{
  list-style-type: cjk-ideographic;
  margin-left: 2em;
}
/* 丸数字リスト */
#template ol.maru {
  counter-reset: my-counter;
  list-style: none;
}
#template ol.maru > li{
  position: relative;
  padding-left: 1.5em;
  margin-left: 0;
}
#template ol.maru > li::before{
  content: counter(my-counter);
  counter-increment: my-counter;
  background-color: #FFF;
  border: 1px solid #404040;
  border-radius: 50%;
  box-sizing: border-box;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 14px;
  width: 14px;
  color: #404040;
  font-size: 10px;
  line-height: 1;
  position: absolute;
  top: 5px;
  left: 0;
}
/* 洋数字リスト */
#template ol.number > li{
  list-style: decimal;
  margin-left: 1.2em;
}
#template ol.number > li.none{
  list-style-type: none;
  margin-left: 1em;
}
/* 括弧付き洋数字リスト */
#template ol.number_brankets > li{
  list-style-type: none;
	counter-increment: cnt;
  margin-left: 0.3em;
  text-indent: -1.5em;
  padding-left: 1em;
}
#template ol.number_brankets > li::before {
	content: "(" counter(cnt) ") ";
}
/* カタカナイロハリスト */
#template ol.iroha > li{
  margin-left: 2em;
  list-style-type: katakana-iroha;
}

/* 商標登録記載 */
#template ul.attention{
  clear: both;
  display: block;
  font-size: 12px;
  margin: 60px 0 0 0;
}
#template ul.attention li{
  list-style-type: none;
  line-height: 1.4;
  text-indent: -1em;
  margin:-1em 0 1.5em 1em;
}
#template ul.attention li::before{
  content:"※"
}

/* 導入事例会社情報 */
#template div.flex_case{
  display: flex;
}
#template div.case_logo{
  width: 300px;
  height: 200px;
  margin-right: 30px;
  text-align: center;
  border: 1px solid #E0E0E0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
#template div.case_logo img{
  width:50%;
}
#template div.case_txt{
  width: 630px;
}
#template div.case_txt table{
  margin: 0;
}
#template div.case_txt table th{
  width: 135px;
  text-align: center;
}

@media screen and (max-width: 768px) {
  /* 要素 */
  /* 要素：横並び */
  #template div.flex{
    display: block;
    justify-content: center;
  }
  /* 要素：画面幅半分 */
  #template .half{
    display:block;
    width: 100%;
  }
  /* 要素：要素画面幅三分の一 */
  #template .third{
    display:block;
    width: 100%;
  }

  /* 画像回り込みレイアウト */
  #template .flex_left,
  #template .flex_right{
    display: block;
    text-align: center;
  }
  #template .flex_left div,
  #template .flex_right div{
    margin-bottom: 2em;
    text-align: left;
  }
  #template .flex_right{
    flex-direction: row;
  }
  #template .flex_left img,
  #template .flex_right img{
    width: 50%;
    height: auto;
    margin: 0.5em 0 0 0;
  }

  /* テーブル大（要スクロール） */
  #template table.scroll caption{
    display: contents;
  }
  #template table.scroll{
    display: block;
    height: auto;
    overflow: scroll;
  }
  #template table.scroll tbody {
    width: 800px;/* 任意 */
    display:table;
    margin-top: 1em;
  }
  #template table.scroll::-webkit-scrollbar {
    width: 10px;
    height: 10px;
  }
  #template table.scroll::-webkit-scrollbar-thumb {
    background: #47b6be;
    border-radius: 5px;
  }

  /* バナー青 */
  #template a.bnr_blue{
    width: 100%;
    padding: 0.5em 1em;
    margin: 0.5em 0;
  }
  /* バナー黄色 */
  #template a.bnr_yellow{
    width: 100%;
    padding: 0.5em 1em;
    margin: 0.5em 0;
  }

  /* 導入事例会社情報 */
  #template div.flex_case{
    display: block;
  }
  #template div.case_logo{
    width: 100%;
    height: 150px;
    margin: 0 auto;
  }
  #template div.case_logo img{
    width:50%;
  }
  #template div.case_txt{
    width: 100%;
    margin: 1em auto;
  }
  #template div.case_txt table{
    margin: 0;
  }
  #template div.case_txt table th{
    width: 30%;
    text-align: center;
    display: table-cell;
    vertical-align: middle;
  }


}
