/*!
 * ress.css • v1.2.2
 * MIT License
 * github.com/filipelinhares/ress
 */

/* # =================================================================
   # Global selectors
   # ================================================================= */

html {
  box-sizing: border-box;
  overflow-y: scroll; /* All browsers without overlaying scrollbars */
  -webkit-text-size-adjust: 100%; /* iOS 8+ */
}

*,
::before,
::after {
  background-repeat: no-repeat; /* Set `background-repeat: no-repeat` to all elements and pseudo elements */
  box-sizing: inherit;
}

::before,
::after {
  text-decoration: inherit; /* Inherit text-decoration and vertical align to ::before and ::after pseudo elements */
  vertical-align: inherit;
}

* {
  padding: 0; /* Reset `padding` and `margin` of all elements */
  margin: 0;
}

/* # =================================================================
   # General elements
   # ================================================================= */

/* Add the correct display in iOS 4-7.*/
audio:not([controls]) {
  display: none;
  height: 0;
}

hr {
  overflow: visible; /* Show the overflow in Edge and IE */
}

/*
* Correct `block` display not defined for any HTML5 element in IE 8/9
* Correct `block` display not defined for `details` or `summary` in IE 10/11
* and Firefox
* Correct `block` display not defined for `main` in IE 11
*/
article,
aside,
details,
figcaption,
figure,
footer,
header,
main,
menu,
nav,
section,
summary {
  display: block;
}

summary {
  display: list-item; /* Add the correct display in all browsers */
}

small {
  font-size: 80%; /* Set font-size to 80% in `small` elements */
}

[hidden],
template {
  display: none; /* Add the correct display in IE */
}

abbr[title] {
  border-bottom: 1px dotted; /* Add a bordered underline effect in all browsers */
  text-decoration: none; /* Remove text decoration in Firefox 40+ */
}

a {
  background-color: transparent; /* Remove the gray background on active links in IE 10 */
  -webkit-text-decoration-skip: objects; /* Remove gaps in links underline in iOS 8+ and Safari 8+ */
}

a:active,
a:hover {
  outline-width: 0; /* Remove the outline when hovering in all browsers */
}

code,
kbd,
pre,
samp {
  font-family: monospace, monospace; /* Specify the font family of code elements */
}

b,
strong {
  font-weight: bolder; /* Correct style set to `bold` in Edge 12+, Safari 6.2+, and Chrome 18+ */
}

dfn {
  font-style: italic; /* Address styling not present in Safari and Chrome */
}

/* Address styling not present in IE 8/9 */
mark {
  background-color: #ff0;
  color: #000;
}

/* https://gist.github.com/unruthless/413930 */
sub,
sup {
  font-size: 75%;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}

sub {
  bottom: -0.25em;
}

sup {
  top: -0.5em;
}

/* # =================================================================
   # Forms
   # ================================================================= */

input {
  border-radius: 0;
}

/* Apply cursor pointer to button elements */
button,
[type="button"],
[type="reset"],
[type="submit"],
[role="button"] {
  cursor: pointer;
}

/* Replace pointer cursor in disabled elements */
[disabled] {
  cursor: default;
}

[type="number"] {
  width: auto; /* Firefox 36+ */
}

[type="search"] {
  -webkit-appearance: textfield; /* Safari 8+ */
}

[type="search"]::-webkit-search-cancel-button,
[type="search"]::-webkit-search-decoration {
  -webkit-appearance: none; /* Safari 8 */
}

textarea {
  overflow: auto; /* Internet Explorer 11+ */
  resize: vertical; /* Specify textarea resizability */
}

button,
input,
optgroup,
select,
textarea {
  font: inherit; /* Specify font inheritance of form elements */
}

optgroup {
  font-weight: bold; /* Restore the font weight unset by the previous rule. */
}

button {
  overflow: visible; /* Address `overflow` set to `hidden` in IE 8/9/10/11 */
}

/* Remove inner padding and border in Firefox 4+ */
button::-moz-focus-inner,
[type="button"]::-moz-focus-inner,
[type="reset"]::-moz-focus-inner,
[type="submit"]::-moz-focus-inner {
  border-style: 0;
  padding: 0;
}

/* Replace focus style removed in the border reset above */
button:-moz-focusring,
[type="button"]::-moz-focus-inner,
[type="reset"]::-moz-focus-inner,
[type="submit"]::-moz-focus-inner {
  outline: 1px dotted ButtonText;
}

button,
html [type="button"], /* Prevent a WebKit bug where (2) destroys native `audio` and `video`controls in Android 4 */
[type="reset"],
[type="submit"] {
  -webkit-appearance: button; /* Correct the inability to style clickable types in iOS */
}

button,
select {
  text-transform: none; /* Firefox 40+, Internet Explorer 11- */
}

/* Remove the default button styling in all browsers */
button,
input,
select,
textarea {
  background-color: transparent;
  border-style: none;
  color: inherit;
}

/* Style select like a standard input */
select {
  -moz-appearance: none; /* Firefox 36+ */
  -webkit-appearance: none; /* Chrome 41+ */
}

select::-ms-expand {
  display: none; /* Internet Explorer 11+ */
}

select::-ms-value {
  color: currentColor; /* Internet Explorer 11+ */
}

legend {
  border: 0; /* Correct `color` not being inherited in IE 8/9/10/11 */
  color: inherit; /* Correct the color inheritance from `fieldset` elements in IE */
  display: table; /* Correct the text wrapping in Edge and IE */
  max-width: 100%; /* Correct the text wrapping in Edge and IE */
  white-space: normal; /* Correct the text wrapping in Edge and IE */
}

::-webkit-file-upload-button {
  -webkit-appearance: button; /* Correct the inability to style clickable types in iOS and Safari */
  font: inherit; /* Change font properties to `inherit` in Chrome and Safari */
}

[type="search"] {
  -webkit-appearance: textfield; /* Correct the odd appearance in Chrome and Safari */
  outline-offset: -2px; /* Correct the outline style in Safari */
}

/* # =================================================================
   # Specify media element style
   # ================================================================= */

img {
  border-style: none; /* Remove border when inside `a` element in IE 8/9/10 */
}

/* Add the correct vertical alignment in Chrome, Firefox, and Opera */
progress {
  vertical-align: baseline;
}

svg:not(:root) {
  overflow: hidden; /* Internet Explorer 11- */
}

audio,
canvas,
progress,
video {
  display: inline-block; /* Internet Explorer 11+, Windows Phone 8.1+ */
}

/* # =================================================================
   # Accessibility
   # ================================================================= */

/* Hide content from screens but not screenreaders */
@media screen {
  [hidden~="screen"] {
    display: inherit;
  }
  [hidden~="screen"]:not(:active):not(:focus):not(:target) {
    position: absolute !important;
    clip: rect(0 0 0 0) !important;
  }
}

/* Specify the progress cursor of updating elements */
[aria-busy="true"] {
  cursor: progress;
}

/* Specify the pointer cursor of trigger elements */
[aria-controls] {
  cursor: pointer;
}

/* Specify the unstyled cursor of disabled, not-editable, or otherwise inoperable elements */
[aria-disabled] {
  cursor: default;
}

/* # =================================================================
   # Selection
   # ================================================================= */

/* Specify text selection background color and omit drop shadow */

::-moz-selection {
  background-color: #b3d4fc; /* Required when declaring ::selection */
  color: #000;
  text-shadow: none;
}

::selection {
  background-color: #b3d4fc; /* Required when declaring ::selection */
  color: #000;
  text-shadow: none;
}
@charset "utf-8";
/* レイアウトのためのCSS */

body{
  font-family: "Open Sans", "ヒラギノ角ゴ ProN W3", "Hiragino Kaku Gothic ProN", "メイリオ", Meiryo, sans-serif;
  letter-spacing: 0.1em;
  color: #fff;
  font-size:1rem;
  line-height:1.85;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  -webkit-text-size-adjust: 100%; 
  word-wrap: break-word;
}

ul{
  margin:0;
  padding: 0;
  list-style: none;
}

a{
  color: #fff;
  text-decoration: none;
  outline: none;
}

p{
  margin:20px 0px;
  font-size: 0.9em;
  text-align: left;
}
img{
  width:100%;
  height: auto;
}

*{
  box-sizing: border-box;
}
h1{
  font-family: 'Oswald', sans-serif;
  font-size: 2rem;
  z-index: 999;
  letter-spacing: 0.1em;
  line-height: 1.45em;
}
h2{
  font-family: 'Oswald', sans-serif;
  margin-bottom: 50px;
  font-size: 2rem;
  letter-spacing: 0.1em;
}
@media screen and (max-width:550px){
 body,p{
  font-size: 0.7em;
  margin:inherit;
 }
 h2{
  font-size: 1.5rem;
  margin-bottom: 25px;
  }
}
/*==================================================
/* header */
/*===========================================*/
#header{
  position: absolute;
  width: 100%;
}
nav{
  position: fixed;
  z-index:999;
  padding:5px 20px;
  /*--background-color:rgba(205,205,205,0.4);--*/
  width: 100%;
}
/*右にある丸ナビゲーション色*/

#multiscroll-nav span{
  background:transparent!important;
  border-color:#fff!important;
}

/*右にある丸のナビゲーション現在地色*/

#multiscroll-nav li .active span{
  background:#fff!important;
}

/*左上のナビゲーション*/
#menu{
  font-family: 'Oswald', sans-serif;
}
#menu li {
  display:inline-block;
}

#menu li a{
  display:inline-block;
  text-decoration:none;
  color: #fff;
  padding:20px;
  opacity: 0.9;

}
@media screen and (max-width:550px){
  
#header{
  justify-content: center;
}
ul#menu{
  display: flex;
  justify-content: space-between;
}
#menu li a{
  font-size: 0.8em;
  padding: 10px 10px 10px 0px;
}
#menu li a::after{
  left:0px;
  bottom: 25px;
}
}
@media screen and (max-width:375px){
#menu li a{
  font-size: 0.65em;
  }
#menu li a::after{
  bottom: 20px;
}
}
/*==================================================
/*全体の設定*/
/*===================================*/
#main{
  background: #4aa899;
  width: 100%;
  min-height: 50vh;
  min-height: calc(var(--vh, 1vh) * 50);
}
#uniform,#about{
  background: #f7f7f7;
}
#partner{
  background: #f7f7f7 ;
}

.sp-bottom{
  text-align: center;
}
.flex_box{
  display: flex;
}
img.logo{
  width: 240px;
}
/*sスライド*/
.img-gallery {
  background: #4aa899;
  background-size: 50px 16px;
  min-height: 40vh;
  min-height: calc(var(--vh, 1vh) * 40);
}
.text_area{
  position: absolute;
  top:50%;
  text-align: left;
  padding: 0px 20px 0px 20px;
  width: 880px;
  max-width: 100%;
  transform: translate(-0%, -50%);
}
.text_area p{
  margin:initial;
  animation-delay: 2.7s;
  margin:10px 0px;
  font-size: 0.9em;
}

.fadein {
  opacity: 0;
  animation: fadein 2s ease forwards;
}
@keyframes fadein {
  100% {  opacity: 1;}
}

@media screen and (max-width:680px){
 h1{
  font-size: 1.5rem;
  }
}
@media screen and (max-width:550px){
 img.logo{
  width: 160px;
  }
}
.ms-section{
  color:#fff;
  display: flex;
  align-items: center;
  background: #fff;
  flex-direction: column;
  margin:0 auto;
  text-align: center;
}

.sp-bottom{
  width: 100%;
  color:#2e2e2e;
  margin-bottom: 20px;
}
.ms-top{
  width: 100%;
  margin-bottom: 20px;
}

/*about*/
#about .sp-bottom ul li{
  border-bottom: 1px solid #ccc;
  margin: 0 0 15px 0;
  padding: 0 0 15px 0;
}

#about .about-list {
  width: 96%;
  max-width: 880px;
  margin: 0 auto;
  text-align: left;
}

#about .about-list dl {
  display: flex;
  justify-content: space-between;
}
#about .about-list dt {
  width: 30%;
  padding: 0 0 0 40px;
}
#about .about-list dd {
  width: 65%;
}
@media screen and (max-width:550px){
 .sp-bottom{
  margin-bottom: 10px;
 }
}
/*==================================================
/*footer*/
/*===================================*/
#footer{
  bottom:20px;
  left: 20px;
  width:100%;
  background-color:rgba(205,205,205,0.6);
  padding: 0px 20px 0px 20px;
}
small{
  padding: 20px;
  display: block;
  text-align: center;
}

@media screen and (max-width:550px){
 
#footer{
  bottom:inherit;
  left: 20px;
  top:20px;
} 
}
/*==================================================
/*container inner*/
/*===================================*/
#container{
  position: relative;
  z-index: 1;
}
.inner{
  padding: 70px 20px 50px 20px;
  width: 880px;
  max-width: 100%;
  margin: 0 auto;
}
/*bodyにappearクラスがついたら出現*/
body.appear #container{
  animation-name:PageAnimeAppear;
  animation-duration:1s;
  animation-delay: 0.8s;
  animation-fill-mode:forwards;
  opacity: 0;
}

@keyframes PageAnimeAppear{
  0% {
  opacity: 0;
  }
  100% {
  opacity: 1;
}
}
/*==================================================
　スクロールを促す矢印
===================================*/
.scroll_area{
  min-height: 10vh;
  min-height: calc(var(--vh, 1vh) * 10);
  background: #49a899;
  position: relative;
}

/*スクロールダウン全体の場所*/
p.scroll  {
  position: relative;
  z-index: 2;
  text-decoration: none;
  font-family: 'Oswald', sans-serif;
  font-size: 0.8em;
  text-align: center;
  display: block;
  margin:initial;

}
p.scroll span {
  position: absolute;
  top: 0;
  left: 50%;
  width: 24px;
  height: 24px;
  margin-left: -12px;
  border-left: 1px solid #fff;
  border-bottom: 1px solid #fff;
  -webkit-transform: rotate(-45deg);
  transform: rotate(-45deg);
  -webkit-animation: sdb 1.5s infinite;
  animation: sdb 1.5s infinite;
  box-sizing: border-box;
}
@-webkit-keyframes sdb {
  0% {
  -webkit-transform: rotate(-45deg) translate(0, 0);
  opacity: 0;
  }
  50% {
  opacity: 1;
  }
  100% {
  -webkit-transform: rotate(-45deg) translate(-20px, 20px);
  opacity: 0;
  }
}
@keyframes sdb {
  0% {
  transform: rotate(-45deg) translate(0, 0);
  opacity: 0;
  }
  50% {
  opacity: 1;
  }
  100% {
  transform: rotate(-45deg) translate(-20px, 20px);
  opacity: 0;
  }
}
/*==================================================
　ナビボタン 中心から外に線が伸びる（中央）
===================================*/
#menu li a{
  /*線の基点とするためrelativeを指定*/
  position: relative;
}

#menu li a::after {
  content: '';
  /*絶対配置で線の位置を決める*/
  position: absolute;
  bottom: 34px;
  left: 10%;
  /*線の形状*/
  width: 80%;
  height: 1px;
  background: #fff;
  /*アニメーションの指定*/
  transition: all .2s;
  transform: scale(0, 1);/*X方向0、Y方向1*/
  transform-origin: center top;/*上部中央基点*/
}

/*現在地とhoverの設定*/
#menu li a:hover::after {
  transform: scale(1, 1);/*X方向にスケール拡大*/
}


/*==================================================
/*タイトルのアニメーション*/
/*===================================*/
#uniform h1{
  color: #fff;
}
#goods h2,#about h2{
  color:#eb6100;
}
#uniform h2{
  color: #2c645b;
}
#threed h2{
  color: #fd1d63;
}
/*4-9　シャッ（左から）*/
.bgextend{
  animation-name:bgextendAnimeBase;
  animation-duration:1s;
  animation-fill-mode:forwards;
  position: relative;
  overflow: hidden;/*　はみ出た色要素を隠す　*/
  opacity:0;
}

@keyframes bgextendAnimeBase{
  from {
  opacity:0;
  }

  to {
  opacity:1;  
}
}

/*中の要素*/
.bgappear{
  animation-name:bgextendAnimeSecond;
  animation-duration:1s;
  animation-delay: 0.6s;
  animation-fill-mode:forwards;
  opacity: 0;
}

@keyframes bgextendAnimeSecond{
  0% {
  opacity: 0;
  }
  100% {
  opacity: 1;
}
}

.bgLRextend::before{
  animation-name:bgLRextendAnime;
  animation-duration:1s;
  animation-fill-mode:forwards;
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  background-color: #eb6100;/*伸びる背景色の設定*/
}
#main .bgLRextend::before{
  background-color: #fff;
  }
#uniform .bgLRextend::before{
  background-color: #2c645b;
}
#threed .bgLRextend::before{
  background-color: #fd1d63;
}
#partner .bgLRextend::before,#gallery .bgLRextend::before{
  background-color: #2e2e2e;
}
#contact .bgLRextend::before{
  background-color: #2e2e2e;
}
@keyframes bgLRextendAnime{
  0% {
  transform-origin:left;
  transform:scaleX(0);
  }
  50% {
  transform-origin:left;
  transform:scaleX(1);
  }
  50.001% {
  transform-origin:right;
  }
  100% {
  transform-origin:right;
  transform:scaleX(0);
  }
}

/* 4-1 ふわっ（下から） */

.fadeUp{
animation-name: fadeUpAnime;
animation-duration:0.5s;
animation-fill-mode:forwards;
opacity:0;
}

@keyframes fadeUpAnime{
  from {
  opacity: 0;
  transform: translateY(100px);
  }

  to {
  opacity: 1;
  transform: translateY(0);
  }
}


/* 4-2　パタッ（左へ） */
.flipLeft{
animation-name: flipLeftAnime;
animation-duration:0.5s;
animation-fill-mode:forwards;
perspective-origin: left center;
opacity:0;
}

@keyframes flipLeftAnime{
  from {
   transform: perspective(600px) translate3d(0, 0, 0) rotateY(30deg);
  opacity: 0;
  }

  to {
  transform: perspective(600px) translate3d(0, 0, 0) rotateY(0deg);
  opacity: 1;
  }
}

/* スマホ表示用。flipLeftTriggerを指定している親要素に指定しないとうまく動かない*/
#vision,
.service-area{
  transform:  translate3d(0, 0, 0);
}

/* スクロールをしたら出現する要素にはじめに透過0を指定　*/
.bgLRextendTrigger,
.bgappearTrigger,
.fadeUpTrigger,
.flipLeftTrigger{
  opacity: 0;
}


/*==================================================
　ボタンの動き
===================================*/

a{
  display: block;
  text-decoration: none;
}

.Btn{
  position: relative;
  border: 1px solid #4aa899;
  margin-left: auto;
  margin-right: auto;
  width: 240px;
  height: 48px;
  line-height: 48px;
  display: flex;
  text-align: center;
  background: #4aa899;
  border-radius: 3px;
}
.Btn-Text:after{
  content: "";
  position: absolute;
  top: 50%;
  right: 10%;
  width: 8px;
  height: 8px;
  border-top: 1px solid #fff;
  border-right: 1px solid #fff;
  transform: rotate(45deg);
  margin-top: -3px;
}
.Btn-Text{
  width: 100%;
  height: 100%;
  color: #fff;
  z-index: 10;
}

.Btn-Text:before{
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 0;
  display: block;
  background: #fff;
  z-index: -1;
  transition: .6s;
}

.Btn-Text:hover{
  color: #4aa899;
  transition: .6s;
}

.Btn-Text:hover:before{
  width: 100%;
}
.Btne-Text:hover:after{
  border-top: 1px solid #4aa899;
  border-right: 1px solid #4aa899;
}
/*==================================================
横移動させて全画面で見せる
===================================*/
.slider {
  position:relative;
  z-index: 1;
  /*↑z-indexの値をh1のz-indexの値よりも小さくして背景に回す*/
  height: 100vh;/*スライダー全体の縦幅を(80vh）にする*/
  opacity: 0;
}

.slider-item {
  width: 100%;/*各スライダー全体の横幅を画面の高さいっぱい（100%）にする*/
  height:100vh;/*各スライダー全体の縦幅を（80vh）にする*/
  background-repeat: no-repeat;/*背景画像をリピートしない*/
  background-position: center;/*背景画像の位置を中央に*/
  background-size: cover;/*背景画像が.slider-item全体を覆い表示*/
}

/*矢印の設定*/

/*戻る、次へ矢印の位置*/
.slick-prev, 
.slick-next {
  position: absolute;/*絶対配置にする*/
  z-index: 3;
  top: 42%;
  cursor: pointer;/*マウスカーソルを指マークに*/
  outline: none;/*クリックをしたら出てくる枠線を消す*/
  border-top: 2px solid #fff;/*矢印の色*/
  border-right: 2px solid #fff;/*矢印の色*/
  height: 25px;
  width: 25px;
}

.slick-prev {/*戻る矢印の位置と形状*/
  left:2.5%;
  transform: rotate(-135deg);
}

.slick-next {/*次へ矢印の位置と形状*/
  right:2.5%;
  transform: rotate(45deg);
}

/*ドットナビゲーションの設定*/

.slick-dots {
  position: relative;
  z-index: 3;
  text-align:center;
  margin:-50px 0 0 0;
}

.slick-dots li {
  display:inline-block;
  margin:0 5px;
}

.slick-dots button {
  color: transparent;
  outline: none;
  width:8px;/*ドットボタンのサイズ*/
  height:8px;/*ドットボタンのサイズ*/
  display:block;
  border-radius:50%;
  background:#fff;/*ドットボタンの色*/
}

.slick-dots .slick-active button{
  background:#ffec04;/*ドットボタンの現在地表示の色*/
}


/*==================================================
複数画像を流して見せる
===================================*/

/*slickのJSで書かれるタグ内、スライド左右の余白調整*/

.slider2 img {
  width:100%;/*スライダー内の画像を横幅100%に*/
  height:auto;
}

.slider2 .slick-slide {
  margin:0 10px;/*スライド左右の余白調整*/
}
.slider2{
  opacity: 0;
}

.slider2.slick-initialized {
  opacity:1.0;

}
/*==================================================
トップに戻るボタンの形状
===================================*/
#page-top a{
  display: flex;
  justify-content:center;
  align-items:center;
  background-color:rgba(36,24,24,0.2);
  border-radius: 3px;
  width: 60px;
  height: 60px;
  color: #fff;
  text-align: center;
  text-transform: uppercase; 
  text-decoration: none;
  font-size:0.6rem;
  transition:all 0.3s;
  font-family: 'Oswald', sans-serif;
  font-size: 0.8em;
}

#page-top a:hover{
  background-color:rgba(36,24,24,0.2);
}

/*リンクを右下に固定*/
#page-top {
  position: fixed;
  right: 10px;
  bottom:10px;
  z-index: 2;
  /*はじめは非表示*/
  opacity: 0;
  transform: translateY(100px);
}

/*　上に上がる動き　*/

#page-top.UpMove{
  animation: UpAnime 0.5s forwards;
}
@keyframes UpAnime{
  from {
  opacity: 0;
  transform: translateY(100px);
  }
  to {
  opacity: 1;
  transform: translateY(0);
  }
}

/*　下に下がる動き　*/

#page-top.DownMove{
  animation: DownAnime 0.5s forwards;
}
@keyframes DownAnime{
  from {
  opacity: 1;
  transform: translateY(0);
  }
  to {
  opacity: 1;
  transform: translateY(100px);
  }
}