@charset "UTF-8";
body {
  padding-top:54px;
}

.company-logo {
  margin-left: 5vmin;
}

.menu-contents .nav-item {
  padding-top: 0.5rem;
  width: 7em;
  border-bottom: solid 0.5rem rgba(0, 0, 0, 0);
}

.menu-contents .nav-item:hover {
  border-bottom: solid 0.5rem #c00000;
  border-bottom-color: #c00000;
}

.menu-contents a:hover {
  color: #c00000 !important;
}

/* ヒーローヘッダ― */
.hero-header-box {
  background-color: rgba(248, 249, 252, 0.8);
}

.hero-header-title {
  font-size: 1.5rem;
}

#scroll-explicit {
  font-size: 1.5rem;
}

@media screen and (max-width:640px) {
  .hero-header-title {
    font-size: 4vmin;
  }

  #scroll-explicit {
    font-size: 3vmin;
  }
}


.font-yg {
  font-family: 'YasashisaGothic';
}

@font-face {
  font-family: YasashisaGothic;
  src: url(../fonts/YasashisaGothic.ttf);
}

/*固定する背景*/
div.parallax {
  box-sizing: border-box;
  color: #FFF;
  font-size: 5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100vh !important;
  padding: 5%;
  min-height: 640px !important;
}

@media screen and (max-width:640px) {
  div.parallax {
    box-sizing: border-box;
    color: #FFF;
    font-size: 5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100vh !important;
    padding: 5%;
  }
}

.parallax-bg {
  background-attachment: fixed;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}
/*各背景の画像*/
.img-bg-01 {
  background-image: url('../images/road-1031702_1280.jpg');
}

@media screen and (max-width:640px) {
  .img-bg-01 {
    background-image: url('../images/road-1031702_640.jpg');
  }
}

/*スクロールするコンテンツ*/
.scroll-box-work {
  background-color: #f8f9fc;
}
.scroll-box-philosophy {
  background-color: #f8f9fc;
}
.scroll-box-company {
  background-color: #f8f9fc;
}
.scroll-box-history {
  background-color: #f8f9fc;
}

#scroll-to-top {
  position: fixed;
  bottom: 90px;
  right: 30px;
  background-color: #f7b32d;
  padding: 8px;
  border-radius: 50%;
  z-index: 999;
  display: none;
}

.fa-chevron-up {
  font-size: 18px;
}

.pageTop-chevron {
  color:black;
  padding:8px;
}

#scroll-to-top a {
color: black;
}

.footer-title {
  display: block;
  margin: 10px 0 10px 0;
  padding-left: 0.5rem;
  padding-bottom: 0.2rem;
  border-color: #f8f9fc;
  border-left: 3px solid;
  border-bottom: 1px solid;
}

/* Hamburgers */
#hamburger-toggle {
  display: none;
}

#hamburger-btn {
  position: absolute;
  cursor: pointer;
  top: 10px;
  left: 85%;
  width: 44px;
  height: 44px;
  /*background: lightcoral;
  border-radius: 10px;*/
  z-index: 100;
}

#hamburger-btn .line {
  position: absolute;
  top: 0;
  left: 2px;
  display: block;
  width: 40px;
  height: 3px;
  background: #000;
  -webkit-transition: all 0.3s ease-out;
  transition: all 0.3s ease-out;
}

#hamburger-btn .line_01 { top: 10px; }
#hamburger-btn .line_02 { top: 20px; }
#hamburger-btn .line_03 { top: 30px; }

#hamburger-toggle:checked ~ #hamburger-btn .line {
  background: #fff;
}

#hamburger-toggle:checked ~ #hamburger-btn .line_01 {
  top: 20px;
  -webkit-transform: rotate(45deg);
  transform: rotate(45deg);
}

#hamburger-toggle:checked ~ #hamburger-btn .line_02 {
  opacity: 0;
}

#hamburger-toggle:checked ~ #hamburger-btn .line_03 {
  top: 20px;
  -webkit-transform: rotate(135deg);
  transform: rotate(135deg);
}

/* drawer menu */
.menu {
	z-index: 10;
	position: fixed;
	overflow: auto;
  top: 0;
	left: 100%;
	width: 300px;
	height: 100%;
	margin: 0;
	padding: 10px;
	box-sizing: border-box;
	background: rgba(0,0,0,.6);
  transform: none;
  transition: transform .6s cubic-bezier(0.215, 0.61, 0.355, 1);
}
.menu h2,
.menu a {
	color: white;
}
.menu h2 {
	text-align: center;
}
.menu ul {
	margin: 0;
	padding: 0;
}
.menu li {
	font-size: .8em;
  line-height: 1.4;
  height: 50px;
}
.menu li:not(:first-child) {
	border-top: 1px solid rgba(255,255,255,.6);
}
.menu a {
	display: block;
	padding: 0.5em 2em;
	text-decoration: inherit;
	transition: background .6s;
}
.menu .nav-item:hover {
  background: rgba(255, 255, 255, 0.5);
  color: #000;
}
#hamburger-toggle:checked ~ .menu {
  transform: translateX(-100%);
  transition: transform .6s cubic-bezier(0.215, 0.61, 0.355, 1);
}
.menu-cover {
  z-index: -1;
	position: fixed;
	overflow: auto;
  top: 0;
	left: 0;
	width: 0;
	height: 0;
	margin: 0;
	padding: 0;
	box-sizing: border-box;
  transform: none;
}
#hamburger-toggle:checked ~ .menu-cover {
  z-index: 1;
  width: 100%;
  height: 100%;
}

/* カルーセル */
.slider-image {
  min-width: 400px;
  min-height: 400px;
  border-radius: 50%;
  background-position: center center;
}

.slider-contents {
  height: 100%;
}

.slider-caption {
  text-shadow: 0 1px 1px rgba(0, 0, 0, 0.1);
  text-transform: uppercase;
}
.slider-txt {
  color: #999;
  max-width: 300px;
}

:root {
  --swiper-navigation-color: #f7b32d;
  --swiper-pagination-color: #f7b32d;
}

.swiper-container {
  max-width: 100%;
}

.swiper-slide {
  padding: 10px 50px 1em 50px;
}

/*スライダー内容*/
.text-content {
   text-align: left;
   font-size: medium;
}

.explanation {
  font-size: small;
}

.work-image-1 {
  background-image: url("../images/img-work.png");
}

.work-image-2 {
  background-image: url("../images/img-work-2.jpg") ;
}

.work-image-3 {
  background-image: url("../images/img-work-3.jpg");
}

.work-image-4 {
  background-image: url("../images/img-work-4.jpg");
}

.product-qa{
  list-style: none;
  padding-left: 0;
  text-align: left;
}

.product-qa li::before{
  content: "・";
  font-size: medium;
  padding-right: 5px;
}

/*会社指針*/
.philosophy-image {
  width: 400px;
  height: 300px;
  border-radius: 5%;
  border: 1px solid rgb(219, 210, 210);
  background: center/cover url("../images/AI_QUO_IMAGE.png");
}

.philosophy-txt {
  color: #999;
  max-width: 400px;
}
