@charset "utf-8";
/* CSS Document */
html {
  scroll-padding-top: 100px;
}
.mainimg-top div {
  font-family: "Noto Serif JP", serif;
  font-size: 3rem;
  font-weight: 500;
}
@media (max-width: 767px) {
  .mainimg-top p {
    font-size: 2rem;
    margin-bottom: 0;
  }
}
h1, h2, h3 {
  font-family: "IBM Plex Sans JP", sans-serif;
}
h1, .logo {
  display: flex;
  align-items: center;
}
#sec h2 {
  color: #fff;
  padding: 0.5em 1em;
  display: block;
  position: relative;
}
#sec .page-title {
  color: #fff;
}
#sec .page-title span {
  z-index: 1;
  position: relative;
}
#sec h2.page-title:before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #4a80cb;
  transform: skew(-10deg);
  z-index: 0;
}
#sec h2.page-title:after {
  content: '';
  position: absolute;
  border-left: 10px double #ecf7ff;
  height: 100%;
  top: 0;
  right: 20px;
  transform: skew(-10deg);
}
.navbar {
  padding: 10px 0;
  font-size: 1.2rem;
}
/*#sec .page.business section:nth-of-type(odd) {
  background: #ecf7ff;
}*/
i {
  margin-right: 0.5em;
}
a.nav-link {
  padding-bottom: 5px;
  position: relative;
}
a.nav-link::before {
  background: #1b6fd0;
  content: '';
  width: 100%;
  height: 2px;
  position: absolute;
  left: 0;
  bottom: 0.5em;
  transform-origin: right top;
  transform: scale(0, 1);
  transition: transform .3s;
}
a.nav-link:hover::before {
  transform-origin: left top;
  transform: scale(1, 1);
}
#header .transform .nav-item > a, #header .transform .nav-item > a:hover, #header .transform .nav-item > a:active {
  color: #333 !important;
}
.navbar-light .navbar-nav .nav-link:hover {
  text-decoration: none !important;
}
.table tr:last-of-type th, .table tr:last-of-type td {
  border-bottom: 1px solid #d2d2d2;
}
.history {
  background: url("../company/images/history.jpg") center top no-repeat;
  background-attachment: fixed;
  padding: 4rem 0;
}
.tmtimeline {
  margin: 30px 0 0 0;
  padding: 0;
  list-style: none;
  position: relative;
}
/* The line */
.tmtimeline:before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 10px;
  background: #cacaca;
  left: 20%;
  margin-left: -10px;
}
.tmtimeline > li {
  position: relative;
}
/* The date/time */
.tmtimeline > li .tmtime {
  display: block;
  /*	width: 16em;
	padding-right: 100px;*/
  position: absolute;
}
.tmtimeline > li .tmtime span {
  display: block;
  color: #333;
}
/* Right content */
.tmtimeline > li .cbp_tmlabel {
  margin: 0 0 2em 10em;
  /*	background: #3594cb;
	color: #fff;*/
  padding: 0 1em 0.5em;
  font-weight: 300;
  line-height: 1.4;
  position: relative;
  border-radius: 5px;
}
.tmtimeline > li:nth-child(odd) .cbp_tmlabel {
  /*	background: #6cbfee;*/
}
.tmtimeline > li .cbp_tmlabel h2 {
  margin-top: 0px;
  padding: 0 0 10px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.4);
}
/* The triangle */
.cbp_tmlabel p {
  margin: 0 !important;
  padding: 0 !important;
}
/* The icons */
.tmtimeline > li .cbp_tmicon {
  width: 1.2em;
  height: 1.2em;
  font-family: 'ecoico';
  speak: none;
  font-style: normal;
  font-weight: normal;
  font-variant: normal;
  text-transform: none;
  font-size: 1.4em;
  line-height: 30px;
  -webkit-font-smoothing: antialiased;
  position: absolute;
  color: #fff;
  background: #6395d0;
  border-radius: 50%;
  text-align: center;
  left: 20.2%;
  top: 0;
  margin: 0 0 0 -20px;
}
.cbp_tmicon-phone:before {
  content: "\e000";
}
.cbp_tmicon-screen:before {
  content: "\e001";
}
.cbp_tmicon-mail:before {
  content: "\e002";
}
.cbp_tmicon-earth:before {
  content: "\e003";
}
.addressBox {
  padding: 0.5em 2em 1em 2em;
  margin: 2em 0;
  color: #5d627b;
  background: white;
  border-top: solid 5px #5d627b;
  box-shadow: 0 3px 5px rgba(0, 0, 0, 0.22);
  display: flex;
  justify-content: space-around;
  align-items: center;
}
.addressBox p {
  margin: 0 !important;
  padding: 0;
  line-height: 2;
  letter-spacing: 1px;
}
.addressBox a {
  font-size: 1.4rem;
}
#sec .addressBox h3 {
  text-align: center;
  border-left: none;
  margin: 1em 0;
  padding: 0;
}
.addressBox .titarea {
  text-align: center;
}
.addressBox .titarea i {
  font-size: 3em;
  margin-right: 0;
}
#page-top {
  bottom: 20px;
  right: 20px;
}
#page-top a {
  padding: 0.3em;
}
#page-top i {
  font-size: 3em;
  margin-right: 0;
}
.eco {
  display: flex;
  justify-content: center;
  flex-direction: column;
}
.eco p {
  text-align: center;
  margin: 0.25em;
}
.eco img {
  max-width: 120px;
  margin: 1em auto 0;
}
.catch {
  font-size: 1.4rem;
  text-align: center;
  margin: 3em 0.5em 2em !important;
  letter-spacing: 1px;
}
.catch strong {
  font-size: 2.4rem;
  text-align: center;
  font-weight: bold;
  text-decoration: underline;
  text-decoration-thickness: 0.5em;
  text-decoration-color: rgba(255, 228, 0, 0.4);
  text-underline-offset: -0.2em;
  text-decoration-skip-ink: none;
}
.recBox {
  margin: 5em auto 2em;
  padding: 2em;
  background-color: transparent;
  border: 1px solid #343434;
  position: relative;
}
.recBox::after {
  content: '';
  background-color: #e1eef5;
  width: 100%;
  height: 100%;
  position: absolute;
  bottom: -7px;
  left: 7px;
  z-index: -1;
}
#sec .recBox h3 {
  margin: 0 0 1rem;
  border-left: 0;
  text-align: center;
}
#sec .recBox p {
  text-align: center;
  font-size: 2em;
  margin-bottom: 0;
}
#sec .recBox p span {
  font-size: 1rem;
}
.sitemap li {
  margin-bottom: 1em;
}
.contact-area h2 {
  padding-top: 0 !important;
}
@media screen and (max-width: 65.375em) {
  #header .transform .nav-item > a:active {
    color: #fff !important;
  }
  .mainimg-top {
    height: 55vh;
  }
  .company-area h2 {
    text-align: center;
    line-height: 2em;
  }
  .company-area img {
    display: block;
    margin: 1em auto 2em;
  }
  .tmtimeline > li tmtime span:last-child {
    font-size: 1.5em;
  }
  .addressBox {
    padding: 1em;
  }
  #sec .addressBox h3 {
    margin: 0.5em 0;
  }
  .addressBox .titarea {
    width: 30%;
  }
  .addressBox p {
    flex-grow: 1;
  }
  .recBox {
    padding: 2em 1em;
  }
  .recBox span {
    display: block;
  }
}
@media screen and (max-width: 47.2em) {
  .navbar, #header .transform {
    padding: 10px;
  }
  h1, .logo {
    width: 70%;
  }
  .cbp_tmicon, .tmtimeline:before {
    display: none;
  }
  .tmtimeline > li .tmtime {
    width: 100%;
    position: relative;
    padding: 0;
  }
  .tmtimeline > li .tmtime span {
    text-align: left;
    color: #2b6ecb;
  }
  .tmtimeline > li .cbp_tmlabel {
    margin: 0 0 30px 0;
    font-weight: 400;
  }
  .tmtimeline > li .cbp_tmlabel:after {
    right: auto;
    left: 20px;
    border-right-color: transparent;
    border-bottom-color: #3594cb;
    top: -20px;
  }
  .tmtimeline > li:nth-child(odd) .cbp_tmlabel:after {
    border-right-color: transparent;
    border-bottom-color: #6cbfee;
  }
  .tmtimeline > li .cbp_tmicon {
    position: relative;
    float: right;
    left: auto;
    margin: -55px 5px 0 0px;
  }
  .addressBox {
    padding: 1em 0.5em;
  }
  .addressBox .titarea {
    margin-right: 0.5em;
  }
}