html{
  scroll-behavior: smooth;
  overflow-y: scroll;
}
body,div,dl,dt,dd,ul,ol,li,h1,h2,h3,h4,h5,h6,pre,form,fieldset,input,textarea,p,blockquote,th,td {margin: 0;padding: 0;}
address,caption,cite,code,dfn,em,strong,th,var {font-style: normal;}
table { border-collapse: collapse;border-spacing: 0;}
caption,th,p {text-align: left;}
h1,h2,h3,h4,h5,h6 {font-size: 100%;text-align:left;}
img,abbr,acronym,fieldset {border: 0;}
li {list-style-type: none;}
img{vertical-align:middle;}
.line {font-size:1px;line-height:1px;}

/*--- default ---*/
body {
    background: #fff;
    font-size: 15px;
    font-family:'M PLUS 1p', sans-serif;
    line-height:1.4;
    text-align:center;
    position:relative;
    -webkit-animation: fadeIn 3s ease 0s 1 normal;
    animation: fadeIn 3s ease 0s 1 normal;
  }
@media screen and (min-width: 897px) { 
     body{    
     min-width:1000px;
     width:100%;
    }
    .header_icon,
    #gloval-navi-smp,
    .navi-smp,
    .menu-btn{
       display:none;
    }
}
  @keyframes fadeIn {
    0% {
      opacity: 0
    }

    100% {
      opacity: 1
    }
  }

  @-webkit-keyframes fadeIn {
    0% {
      opacity: 0
    }

    100% {
      opacity: 1
    }
  }
table{
    border-collapse:collapse;
}
section{
    position:relative;
    top:0;
}
.container {
    max-width:1000px;
    margin:0 auto;
    width:100%;
}
.inner {
    padding-top: 5.8em;
    padding-bottom: 4em;
}
.centering{
     text-align:center;
}
.fl-left{
     float:left;
}
.fl-right{
     float:right;
}

/*--- common ---*/
#wrap{
    width:100%;
    height:100%;
}
a:link,
a:visited{
    color:#333;
    text-decoration: none;
}

a:hover{
    color:#e71f17;;
    text-decoration:underline;
}

.clear:after{
    visibility: hidden;
    display: block;
    font-size: 0;
    content: " ";
    clear: both;
    height: 0;
}
* html .clear            { zoom: 1; } /* IE6 */
*:first-child+html .clear { zoom: 1; } /* IE7 */

a:hover img,
#header-contact a:hover{
    filter: alpha(opacity=80);
    -moz-opacity:0.8;
    opacity:0.8;
}
/*右固定ボタン*/
 .right-fixed-button{
            position: fixed;
            right: 10px;
            bottom:10%;
            z-index:1;
        }
        .right-fixed-button p{
            margin: 5px 0;
        }

.fadeInDown {
 -webkit-animation-fill-mode:both;
 -ms-animation-fill-mode:both;
 animation-fill-mode:both;
 -webkit-animation-duration:1s;
 -ms-animation-duration:1s;
 animation-duration:1s;
 -webkit-animation-name: fadeInDown;
 animation-name: fadeInDown;
 visibility: visible !important;
}
@-webkit-keyframes fadeInDown {
 0% { opacity: 0; -webkit-transform: translateY(-20px); }
 100% { opacity: 1; -webkit-transform: translateY(0); }
}
@keyframes fadeInDown {
 0% { opacity: 0; -webkit-transform: translateY(-20px); -ms-transform: translateY(-20px); transform: translateY(-20px); }
 100% { opacity: 1; -webkit-transform: translateY(0); -ms-transform: translateY(0); transform: translateY(0); }
}

/*****************************************************

    ヘッダ #header

*****************************************************/
.fixed {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 2;
  width: 100%;
  background-color:#fff;
  opacity:.92;
}
#headerWrap{
    width:100%;
    text-align:center;
}
#h_logo{
    float:left;
    width:220px;
    text-align:left;
}
#h_logo h1 a{
    text-indent:-9999px;
	background:url(../images/logo.png) no-repeat center top;
	display:block;
	background-size:140px;
	height:120px;
	width:200px;
}
.header-upper {
    border-bottom:solid 2px #000;
    margin-bottom:5px;
}
.header-upper .container{
    position:relative;
}
.header-upper .top-txt{
    font-size: 11px;
    float: left;
    margin-top: 16px;
    font-family:  'Noto Sans JP', sans-serif;
}
.heder-navi {
    float:right;
    text-align:right;
}
.heder-navi li,
.heder-navi-sub li{
    display: inline-block;
    vertical-align: middle;
    margin-left: 10px;
}
.mn-zehitomo img{
    width:28px;
}
#header-contact a{
    background-color: #000;
    color: #fff;
    text-decoration: none;
    height: 42px;
    display: block;
    width: 170px;
    text-align: center;
    line-height: 42px;
}
.header-guide-navi,
.header-icon{
    display:flex;
}
.header-tel{
     width:260px;
}
.header-guide,
.header-tel{
    font-family:  'Noto Sans JP', sans-serif;
	margin-top: 30px;
}
.tel-num{
    font-size: 36px;
    background: url(../images/icon-tel.png) no-repeat left top;
    font-family: 'Times' , sans-serif;
    text-indent: 26px;
}
.tel-num a{
      text-decoration:none;
      color:#000;
}
.schedule{
    font-size:13px;
    display:block;
    text-align:center;
}
.tel-num,
.schedule{
    line-height: 1;
}
.header-guide-navi a{
    font-size: 13px;
}
.nv-recruit::after {
    content: '/';
    padding: 0 10px;
}
.header-icon{
    margin-top: 4px;
}
.header-icon li a{
    background: #666;
    color:#fff;
    dissplay:block;
    text-decoration:none;
    font-size: 13px;
    padding: 3px 12px 5px;
}
.header-icon .partner{
    margin-left:2px;
}
#header-contact a:hover,
.header-icon li a:hover{
    background: #e71f17;
}
.menu-btn {
  background:url(../images/icon-menu.svg) no-repeat center;
  background-size:40px;
  width:40px;
  height:40px;
  position: fixed;
  right: 0;
  top: 5px;
  z-index:2;
}
.menu-btn.active {
  background:url(../images/icon-close.svg) no-repeat center;
}
.menu-btn::after {
  content: 'MENU';
  position: absolute;
  top: 36px;
  font-size: 12px;
  right: 4px;
}
.menu-btn.active::after{
  content: 'CLOSE';
}

/* globa-navigation */
nav {
    box-shadow: 0 3px 4px 0 rgba(0,0,0,0.1);
}
#nav-logo,
.heder-navi-sub {
    display:none;
}
#gloval-navi {
    display: flex;
    background: url(../images/gnav-line.png) no-repeat left;
}
.fixed #nav-logo {
    display: inline-block;
    float: left;
    width: 100px;
    margin: 3px 14px;
}
.fixed .container{
    position:relative;
}
.fixed .heder-navi-sub {
    display: block;
    position: absolute;
    right: 0;
}
.fixed #nav-logo img{
    width:100%;
}
.fixed #gloval-navi {
    margin: 0;
    float: right;
    width: 80%;
    margin-top: 42px;
}
#gloval-navi li{
    background: url(../images/gnav-line.png) no-repeat right;
    width:25%;
    box-sizing:border-box;
    text-align:center:
}
#gloval-navi li a{
    display: block;
    width: 100%;
    text-decoration: none;
    padding: 16px 0;
    font-size: 17px;
}
#gloval-navi li a:hover {
    background: #eee url(../images/icon-arrow-down.png) no-repeat center bottom;
} 
/* common */
.bg-gray{
    background-color:#eee;
}
.bg-white{
    background-color:#fff;
}
.main-title{
    font-size:30px;
    font-weight:normal;
    line-height: 1.8;
}
.main-title span{
    font-size:13px;
    color:#e71f17;
    display:block;
}
.item-list{
    display:flex;
    flex-wrap:wrap;
}

/*****************************************************

    フッタ #footer

*****************************************************/
.pageTop{
    bottom: 40px;
    display: none;
    position: fixed;
    right: 20px;
    font-size:12px;
    background: #000 url(../images/icon-arrow-up.png) no-repeat center;
    height: 60px;
    width: 60px;
    z-index: 1;
    cursor: pointer;
    text-indent:-9999px;
	border-radius:50%;
}
#footerWrap{
    width:100%;
    background:#eee;
}
#footerWrap p,
.footer-guide dl{
    font-family: 'Noto Sans JP', sans-serif;
}
.buying-flow{
    display:flex;
    border-left:solid 1px #e71f17;
    margin: 3.6em auto;
}
.buying-flow li{
    width:25%;
    text-align:left;
    padding:24px 30px;
    border-right:solid 1px #333;
    box-sizing:border-box;
}
.buying-flow li p{
    margin:28px 0;
}
.attend-mail{
    padding:30px 48px;
}
.attend-mail h5{
    font-weight: normal;
    font-size: 20px;
    margin-bottom: 16px;
}
.attend-mail p{
    font-size:14px;
}
.footer-guide-container{
    margin:4em 0;
}
.footer-guide{
    width:48%;
    box-sizing:border-box;
}
.footer-guide dl{
    border-top:solid 2px #000;
    padding:4em 0;
    display:table;
}
.footer-guide dl dt{
    padding-right:30px;
}
.footer-guide dl dt,
.footer-guide dl dd{
    display:table-cell;
    text-align:left;
    vertical-align:top;
}
.footer-links a{
    font-size:13px;
}
.copyright{
    color: #fff;
    background-color: #000;
    padding: 18px 0;
    margin-top: 2em;
}


/*****************************************************

    for smartphone

*****************************************************/
@media screen and (max-width: 896px) { 
  .header-upper,
  #gloval-navi,
  .schedule,
  #gloval-navi-smp,
  .navi-pc,
  .fixed .heder-navi-sub{
     display:none;
  }
  img {
    max-width:100%;
    }
  #headerWrap {
    position: fixed;
    background: #fff;
    z-index: 4;
    top: 0;
    left: 0;
    height:80px;
    box-shadow: 0 3px 4px 0 rgba(0,0,0,0.1);
    }
    .fixed #nav-logo {
      width: 80px;
    }
    .header-guide,
    .header-tel {
    float: none;
    position: fixed;
    right: 60px;
    margin-top:6px;
    z-index: 3;
    }
    .header-guide{;
    top:4px;
    }
    .header-tel {
    top:32px;
    width:auto;
    }
    .header-icon {
    margin-top: 0;
    }
    .tel-num {
    font-size: 26px;
    }
    #h_logo h1 a {
    background-size: 80px;
    height: 65px;
    width: 100px;
    margin-top: 3px;
    margin-left: 4px;
    }
    #header-contact a,
    #header-contact a:hover {
    background: url(../images/icon-mail.png) no-repeat 30%;
    background-size: 30px;
    color:#000;
    width:100%;
    border-top:dashed 1px #ccc;
    text-indent:2em;
    }
    #header-contact a:hover{
    background-color: transparent;
    }
    #gloval-navi-smp {
    margin-top: 12px;
    background-color: #fff;
    position: fixed;
    z-index: 3;
    width: 80%;
    right: 0;
    opacity:.95;
    box-shadow: 0 3px 4px 0 rgba(0,0,0,0.1);
    }
    #gloval-navi-smp li a{
    display: block;
    font-size: 1.2em;
    padding: 6px 0;
    border-bottom: dashed 1px #999;
    text-decoration:none;
    }
    #gloval-navi-smp li a:hover {
    background-color: #eee;
    }
    .fixed #gloval-navi {
    margin: 0;
    float: none;
    width: 100%;
    margin-top: 0;
    }
    .navi-smp,
    .fixed .navi-smp {
      display:flex;
      justify-content: center;
    }
    #gloval-navi-smp .navi-smp a,
    #gloval-navi-smp #header-contact a{
      border-bottom:none;
    }
    #gloval-navi-smp .navi-smp a:hover{
      background-color:#fff;
    }
}