/* http://meyerweb.com/eric/tools/css/reset/
   v2.0 | 20110126
   License: none (public domain)
*/

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup,
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
	font: inherit;
	vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
	display: block;
}
body {
	line-height: 1;
}
ol, ul {
	list-style: none;
}
blockquote, q {
	quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
	content: '';
	content: none;
}
table {
	border-collapse: collapse;
	border-spacing: 0;
}

@font-face {
  font-family: 'icomoon';
  src: url("../fonts/icomoon/icomoon.eot?srf3rx");
  src: url("../fonts/icomoon/icomoon.eot?srf3rx#iefix") format("embedded-opentype"), url("../fonts/icomoon/icomoon.ttf?srf3rx") format("truetype"), url("../fonts/icomoon/icomoon.woff?srf3rx") format("woff"), url("../fonts/icomoon/icomoon.svg?srf3rx#icomoon") format("svg");
  font-weight: normal;
  font-style: normal;
}

.row{
  margin:0;
  padding: 0;
}

p{line-height: 1.5rem;}

h3.card-title{
	border-left: 3px solid red;
    border-bottom: 1px solid gray;
    padding: 0.5rem;
    font-size: 1.5rem;
}

h4.card-title{
	border-left: 3px solid orange;
    border-bottom: 1px solid gray;
    padding: 0.5rem;
    font-size: 1.2rem;
}

header{
	background-color: #f8f9fa;
	margin-bottom: 1rem;
}

footer{
	background-color: #eee;
}

.card-text{
	margin-bottom:2rem;
}

ul.card-ul{
	margin: 1rem;
}

ul.card-ul > li{
	list-style: square;
	line-height: 1.5rem;
  margin-bottom: 1.5rem;
}

ol.card-ol{
	margin: 1rem;
}

ol.card-ol > li{
	list-style:decimal;
	line-height: 1.5rem;
}

.row{
	margin-bottom:1rem;
}

#headerContents,#footerContents{
	max-width:1020px;
	margin:0 auto;
}

#mainVisual{
  position: relative;
}

.header_tel{
  /*position: absolute;
  top:0;
  right: 0;*/
	position: relative;
  background: #333;
  padding: 10px 15px;
  -moz-box-shadow: 0px 0px 3px 2px rgba(0, 0, 0, 0.3);
  -webkit-box-shadow: 0px 0px 3px 2px rgba(0, 0, 0, 0.3);
  -ms-box-shadow: 0px 0px 3px 2px rgba(0, 0, 0, 0.3);
  box-shadow: 0px 0px 3px 2px rgba(0, 0, 0, 0.3);
}

.header_tel a p {
    margin: 0;
    font-size: 14px;
}

.header_tel a:hover{
    text-decoration: none;
}

.header_tel a strong, .upj li.tel a strong {
    display: block;
    font-size: 30px;
    letter-spacing: 0.05em;
}

.header_tel a p, .header_tel a strong {
    color: #fff;
    text-align: center;
    line-height: 1.3;
}

.header_tel a strong::before, .upj li.tel a strong::before {
    content: "";
    width: 35px;
    height: 35px;
    background: url(../images/tel_icon.png) no-repeat center/100%;
    display: inline-block;
    vertical-align: middle;
    margin: 0 5px 5px 0;
}

.header_tel{
    background: rgb(255,105,32);
	background: -moz-linear-gradient(top, rgba(255,105,32,1) 50%, rgba(255,83,32,1) 50%);
	background: -webkit-linear-gradient(top, rgba(255,105,32,1) 50%,rgba(255,83,32,1) 50%);
	background: linear-gradient(to bottom, rgba(255,105,32,1) 50%,rgba(255,83,32,1) 50%);
	-moz-box-shadow: 3px 3px 3px 0px rgba(0, 0, 0, 0.3);
	-webkit-box-shadow: 3px 3px 3px 0px rgba(0, 0, 0, 0.3);
	-ms-box-shadow: 3px 3px 3px 0px rgba(0, 0, 0, 0.3);
	box-shadow: 3px 3px 3px 0px rgba(0, 0, 0, 0.3);
}

.header_tel_arrow{
	content: "";
  position: absolute;
  top: 50%;
  right: 1rem;
  width: 10px;
  height: 10px;
  border-top: 2px solid #fff;
  border-right: 2px solid #fff;
  transform: rotate(45deg);
}

.header_mail{
  /*position: absolute;
  top:0;
  right: 0;*/
  /*background: darkorange;*/
}

.header_mail{
	position: relative;
	background: rgb(36,169,226);
	background: -moz-linear-gradient(top, rgba(36,169,226,1) 50%, rgba(36,149,226,1) 50%);
	background: -webkit-linear-gradient(top, rgba(36,169,226,1) 50%,rgba(36,149,226,1) 50%);
	background: linear-gradient(to bottom, rgba(36,169,226,1) 50%,rgba(36,149,226,1) 50%);
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ff6920', endColorstr='#ff5320',GradientType=0 );
	-moz-box-shadow: 3px 3px 3px 0px rgba(0, 0, 0, 0.3);
	-webkit-box-shadow: 3px 3px 3px 0px rgba(0, 0, 0, 0.3);
	-ms-box-shadow: 3px 3px 3px 0px rgba(0, 0, 0, 0.3);
	box-shadow: 3px 3px 3px 0px rgba(0, 0, 0, 0.3);
	padding: 1rem;
}

.header_mail:hover{
  background-color: darkgray;
}

.header_mail a p {
    margin: 0;
    font-size: 14px;
}

.header_mail a:hover{
    text-decoration: none;
}

.header_mail a strong, .upj li.tel a strong {
    display: block;
    font-size: 30px;
    letter-spacing: 0.05em;
}

.header_mail a p, .header_mail a strong {
    color: #fff;
    text-align: center;
    line-height: 1.3;
}

.header_mail a strong::before, .upj li.tel a strong::before {
    content: "";
    width: 35px;
    height: 35px;
    background: url(../images/mail_icon.png) no-repeat center/100%;
    display: inline-block;
    vertical-align: middle;
    margin: 0 5px 5px 0;
}

.header_mail_arrow{
	content: "";
  position: absolute;
  top: 50%;
  right: 1rem;
  width: 10px;
  height: 10px;
  border-top: 2px solid #fff;
  border-right: 2px solid #fff;
  transform: rotate(45deg);
}

#officeContents{
	margin-bottom: 2rem;
}

#navArea{
	width: 100%;
}

.sessonArea{
	margin: 0.5rem 0;
}

.txst{
	color: #1a3a8d;
    font-weight: bold;
}

.txstR{
	color: red;
    font-weight: bold;
}

#map > iframe{
	margin-top: -150px;
}

.ribbon-wrapper {  
  display: block;
  position: relative;
  margin: 0 auto;
  padding: 10px 0;
  background: #f1f1f1;
}
.ribbon {
  display: inline-block;
  position: relative;
  box-sizing: border-box;
  padding: 10px;
  margin: 0 0 0 -20px;
  width: calc(100% + 20px);
  font-size: 1rem;
  color: white;
  background: #70c7ff;
}
.ribbon:before {
  position: absolute;
  content: '';
  top: 100%;
  left: 0;
  border: none;
  border-bottom: solid 15px transparent;
  border-right: solid 20px #6eb3e0;
}

.upto_btn{
  position: fixed;
  right: 0;
  background-color: #000;
  bottom: 0;
  padding: 1rem 0;
  color: white;
}

.upto_btn:hover{
  cursor: pointer;
}


@media (max-width: 575.98px) {
  .col, .col-1, .col-10, .col-11, .col-12, .col-2, .col-3, .col-4, .col-5, .col-6, .col-7, .col-8, .col-9, .col-auto, .col-lg, .col-lg-1, .col-lg-10, .col-lg-11, .col-lg-12, .col-lg-2, .col-lg-3, .col-lg-4, .col-lg-5, .col-lg-6, .col-lg-7, .col-lg-8, .col-lg-9, .col-lg-auto, .col-md, .col-md-1, .col-md-10, .col-md-11, .col-md-12, .col-md-2, .col-md-3, .col-md-4, .col-md-5, .col-md-6, .col-md-7, .col-md-8, .col-md-9, .col-md-auto, .col-sm, .col-sm-1, .col-sm-10, .col-sm-11, .col-sm-12, .col-sm-2, .col-sm-3, .col-sm-4, .col-sm-5, .col-sm-6, .col-sm-7, .col-sm-8, .col-sm-9, .col-sm-auto, .col-xl, .col-xl-1, .col-xl-10, .col-xl-11, .col-xl-12, .col-xl-2, .col-xl-3, .col-xl-4, .col-xl-5, .col-xl-6, .col-xl-7, .col-xl-8, .col-xl-9, .col-xl-auto {
    padding-right: 0;
    padding-left: 0;
}

  .img_area{
    overflow: hidden;
    height: 300px;
    margin-bottom: 1rem;
  }

  h3.card-title{
    font-size: 1rem;
  }

  #mainVisual{
    margin-top:56px;
  }

  #navArea{
    position: fixed;
    z-index: 100;
  }
  .ads{
    display: none;
  }

  .header_mail a strong, .upj li.tel a strong {
    display: block;
    font-size: 1rem;
    letter-spacing: 0.05em;
  }
}

@media (min-width: 576px) and (max-width: 767.98px) {

}

@media (min-width: 768px) and (max-width: 991.98px) {

}

@media (min-width: 992px) and (max-width: 1199.98px) {

}

@media (min-width: 1200px) {

}
