@charset "utf-8";


img {
  border:none;
  display:block;
}
ul{
  list-style-type:none;
  padding-left:0;
  margin:0;
}
h1,h2,h3{
  margin:0;
}

body {
  margin: 0;
  color: #000000;
  background-color: #ffffff;
  font-family:"ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "メイリオ", Meiryo, Osaka, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
  }

li a{
  text-decoration: none;
}

  




/* ここからヘッダー↓ */

@media print, screen and (min-width:768px){
  /* 768px以上(pc)に適用されるCSS  */


header {
  width: 100%;
  height: 72px;
  margin-left: auto;
  margin-right: auto;
  overflow: hidden;
  background: -webkit-linear-gradient( 60deg,#00c2cc,#3dfabb);
  background-size:400%;
  animation: textAnime 20s infinite;
  z-index: 1000;
  }
#logo {
float: left;
margin-top: 10px;
margin-left: 10px;
}
#gNavi{
width: 675px;
float: right;
display: flex;
}
#gNavi li {
padding: 20px 30px 5px;
height: 40px;
background-color: transparent;
font-size: 18px;
text-align: center;
font-weight: bold;
margin-left: 5px;
margin-right: 5px;
margin-top: 5px;
float: left;
border-bottom: 2.5px solid transparent;
}
#gNavi li:nth-child(1){
  margin-left: 5px;
}
#gNavi li:nth-child(4){
  border: 3px solid #fff;
  border-radius: 100px;
  padding-bottom: 0px;
  padding-top: 15px;
  height: 37px;
  margin-top: 7px
}

#gNavi li:hover:nth-child(4) {
  background-color:  #ffffff7a;
  border-bottom: 3px solid   #fff;
  }


#gNavi li a{
transition: all .3s ease 0s;
display: block;
height: 100%;
width: 100%;
color: #fff;
}







#gNavi li:hover {
border-bottom: 2.5px solid #fff;
}
#gNavi li:hover a{
color: rgb(230, 255, 142);
}

#gNavi li ul li a{
color: #fff;
}

#gNavi li ul li:hover {
  border-bottom: 2.5px solid transparent;
  }
#gNavi li ul li:hover {
background-color: #ffffff7a;
width: 140px;
margin-left: 2px;
text-align: left;
 }

.ddmenu ul {
display: none;   
margin: 0px;  
padding: 0px;    
position: absolute;
}

.ddmenu ul li {
clear: both;
}


.ddmenu li:hover ul {
display: block;
background: -webkit-linear-gradient( 60deg,#00c2cc,#3dfabb);
background-size:400%;
animation: textAnime 20s infinite;
width:204px;
margin-top:7px;
margin-left:-30px;
}


}





/* ↓ ↓ ↓ ↓ ↓ ↓ SP　↓ ↓ ↓ ↓ ↓ ↓ ↓ */

@media print, screen and (max-width:768px){
  /* 768px以下(sp)に適用されるCSS  */



  header img {
    display: block;
    width: 100%;
    height: auto;
  } 


  #logo {
    width: 9.5rem;
    float: left;
    margin-top: 5px;
    margin-left: 3px;
   
    }
    



header {
  position: fixed;
  width: 100%;
  height: 45px;
  margin-left: auto;
  margin-right: auto;
  overflow: hidden;
  background: -webkit-linear-gradient( 60deg,#00c2cc,#3dfabb);
  background-size:400%;
  animation: textAnime 20s infinite;
  z-index: 100;
  }

  header li {
    list-style-type: none;
  }
  header a {
    text-decoration: none;
    color: #333;
  }

  

  #nav-toggle {
    position: fixed;
    top: 15px;
    right: 20px;
    height: 25px;
  }
  #nav-toggle>div {
    position: relative;
    width: 30px;
  }

  #nav-toggle span {
    width: 100%;
    height: 3px;
    left: 0;
    display: block;
    background: #333;
    position: absolute;
    transition: transform .6s ease-in-out, top .5s ease;
  }

  #nav-toggle span:nth-child(1) {
    top: 0;
  }

  #nav-toggle span:nth-child(2) {
    top: 10px;
  }

  #nav-toggle span:nth-child(3) {
    top: 20px;
  }



  

  .open #nav-toggle span {
    background: #333;
  }

  .open #nav-toggle span:nth-child(1) {
    top: 15px;
    transform: rotate(45deg);
  }

  .open #nav-toggle span:nth-child(2) {
    top: 15px;
    width: 0;
    left: 50%;
  }

  .open #nav-toggle span:nth-child(3) {
    top: 15px;
    transform: rotate(-45deg);
  }

  /* z-index */
  #nav-toggle {
    z-index: 1000;
  }




#gNavi{
  background: #f9f9f9ed;
  color: #333;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 990;
  font-size: 16px;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  visibility: hidden;
  opacity: 0;
  transition: opacity .6s ease, visibility .6s ease;
}


#gNavi ul {
  opacity: 0;
  transform: translateY(-200px);
  transition: all .8s ease;
  list-style: none;
}



#gNavi a{
  display: block;
  color: #ffffff;
  text-decoration: none;
  padding: 7px 0;
  transition: color .6s ease;
}


#gNavi a:hover {
  color: #666;
}





  /* open */
  .open {
    overflow: hidden;
  }

  .open #gNavi {
    visibility: visible;
    opacity: 1;
  }

  .open #gNavi ul {
    opacity: 1;
    transform: translateY(0);
  }


  #gNavi :nth-child(1)  li {
    display: block;
    text-decoration: none;
    transition: ease all .3s;
    line-height: 100%;
    text-align: center;
    background:  #3dfabb;
    background: -moz-linear-gradient(right, #00c2cc 0%,#3dfabb 100%);
    background: -webkit-linear-gradient(right, #00c2cc 0%, #3dfabb 100%);
    background: linear-gradient(to right, #00c2cc 0%, #3dfabb );
    color: #fff;
    padding: 10px 30px;
  }


}


/* ↑ ↑ ↑ ↑ ↑ ↑ ↑ ↑ ↑ SP ↑ ↑ ↑ ↑ ↑ ↑ ↑ ↑ ↑  */

/* ここまでヘッダー↑ */


/* ここから スライド ヘッダーボックス↓  */



#fixed-header {
width: 100%;
height: 72px;
margin-left: auto;
margin-right: auto;
position: fixed;
top: -10%;  
font-size: 1em;
text-align: center;
background: -webkit-linear-gradient( 60deg,#00c2cc,#3dfabb);
background-size:400%;
animation: textAnime 20s infinite;
box-sizing: border-box;
transition: 3.5s; /* アニメーションタイミング */
z-index: 900;
opacity: 0;
}
#fixed-header.is-show {
top: 0;
opacity: 1;
}


#fixed-header li a{
transition: all .3s ease 0s;
text-decoration: none;
display: block;
height: 100%;
width: 100%;
color: #fff;
}

.ddmenu2 ul {
display: none;   
margin: 0px;  
padding: 0px;    
position: absolute;


}

.ddmenu2 ul li {
  clear: both;
    }

.ddmenu2 li:hover ul {
  display: block;
  background: -webkit-linear-gradient( 60deg,#00c2cc,#3dfabb);
  background-size:400%;
  animation: textAnime 20s infinite;
  width:204px;
  margin-top:7px;
  margin-left:-30px;
  
}








/* ↓ ↓ ↓ ↓ ↓ ↓ SP　↓ ↓ ↓ ↓ ↓ ↓ ↓ */

@media print, screen and (max-width:768px){
  /* 768px以以下(sp)に適用されるCSS  */

  #fixed-header {display: none;
  }
    
}
/* ↑ ↑ ↑ ↑ ↑ ↑ ↑ ↑ ↑ SP ↑ ↑ ↑ ↑ ↑ ↑ ↑ ↑ ↑  */

/* ここまでスライドヘッダーボックス↑  */


  main {
    clear:both;
    overflow:hidden;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    padding-top: 0px;
    padding-bottom: 0px;
    margin-bottom: -50px;
    }




/* ↓ ↓ ↓ ↓ ↓ ↓ SP　↓ ↓ ↓ ↓ ↓ ↓ ↓ */

@media print, screen and (max-width:768px){
  /* 768px以下(sp)に適用されるCSS  */
  
  main {
    clear:both;
    overflow:hidden;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    padding-top: 0px;
    padding-bottom: 0px;
    margin-bottom: -25px;
    }
    
}
/* ↑ ↑ ↑ ↑ ↑ ↑ ↑ ↑ ↑ SP ↑ ↑ ↑ ↑ ↑ ↑ ↑ ↑ ↑  */






/* ここからworks fadeモーション↓ */


.showTopText {
  transition: opacity 0.5s 0.1s;
  opacity: 1 !important;
}




  main #topPhoto {
    background-position-y :0px;
    margin-top: -72px;
  }

  #scroll {
    height: 60vh;
  }
    
  #topPhoto {
    background-image: url("../../images/works.jpg");
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
    height: 572px;
    box-sizing: border-box;
    text-align: left;
    padding-top: 537px;
    
  }


  

/* paddingでテキスト位置確定 */








@media screen and (min-width: 737px) {
    #topPhoto span {
        font-size: 30px;
        line-height: 0;
       
    }
    #topTextBig {
        font-size: 3em !important;
        margin-left: 5px;
    }
}





@media screen and (max-width: 736px) {
    #topPhoto span {
        font-size: 20px;

    }
    #topTextBig {
        font-size: 2.3em !important;
    }
}



#topText {
  color: #fff;
  text-shadow: 0 0 10px #000;
  opacity: 0;
}







/* ↓ ↓ ↓ ↓ ↓ ↓ SP　↓ ↓ ↓ ↓ ↓ ↓ ↓ */

@media screen and (max-width: 768px) {
  .showTopText {
    transition: opacity 0.5s 0.1s;
    opacity: 1 !important;
  }
  
    main #topPhoto {
      background-position-y :0px;
      margin-top: -36px;
    }
  
    #scroll {
      height: 30vh;
    }
      
    #topPhoto {
      background-image: url("../../images/works.jpg");
      background-repeat: no-repeat;
      background-position: center center;
      background-size: cover;
      height: 286px;
      box-sizing: border-box;
      text-align: left;
      padding-top: 260px;
      padding-left: 5px;
    }
  
    #topPhoto span {
        font-size: 10px;

    }
    #topTextBig {
        font-size: 2.3em !important;
    }
}

/* ↑ ↑ ↑ ↑ ↑ ↑ ↑ ↑ ↑ SP ↑ ↑ ↑ ↑ ↑ ↑ ↑ ↑ ↑  */





/*ここまで about fadeモーション↑ */








/* ここから見出し共通 */

section h2 {
  text-align: left;
  font-size: 2em;
  line-height: 200%;
  color: #001f4d;
  letter-spacing: 0.35em;
  margin-bottom: 20px;
}

section h2 span {
  display: block;
  font-size: 0.6em;
  line-height: 100%;
  margin-top: -11px;
  letter-spacing: 0.4em;
}




ul p {
  text-align: left;
  font-size: 1.6em;
  font-weight: bold;
  line-height: 1.5em;
  color: #001f4d;
  align-items:first baseline;
  margin-top: 10px;
  margin-left:100px;
  display: flex;
}






/* ↓ ↓ ↓ ↓ ↓ ↓ SP　↓ ↓ ↓ ↓ ↓ ↓ ↓ */

@media screen and (max-width: 768px) {
  section h2 {
    text-align: left;
    font-size: 0.8em;
    line-height: 200%;
    color: #001f4d;
    letter-spacing: 0.35em;
    margin-bottom: 6.5px;
  }
  
  section h2 span {
    display: block;
    font-size: 0.6em;
    line-height: 100%;
    margin-top: -4px;
    letter-spacing: 0.4em;
  }






  }
/* ↑ ↑ ↑ ↑ ↑ ↑ ↑ ↑ ↑ SP ↑ ↑ ↑ ↑ ↑ ↑ ↑ ↑ ↑  */







/* CSSスライド設定 */

.css_slide2 {
  position: relative;
  width: 1000px;
  height: 475px;
  overflow: hidden;
  margin-left: 25px;
  margin-bottom: 25px;
 }



 /* ↓ ↓ ↓ ↓ ↓ ↓ SP　↓ ↓ ↓ ↓ ↓ ↓ ↓ */

 @media screen and (max-width: 768px) {
.css_slide2 {
  position: relative;
  width: 75vw;
  height: 60vw;
  overflow: hidden;
  margin-left: 10%;
  margin-bottom: 25px;
 }
 
  .css_slide2 img {
    width: 100%;
    height: auto;
   }


}
/* ↑ ↑ ↑ ↑ ↑ ↑ ↑ ↑ ↑ SP ↑ ↑ ↑ ↑ ↑ ↑ ↑ ↑ ↑  */



@keyframes slideshow {
0%{
  opacity: 0;
}
5%{
  opacity: 0;
}
28%{
  opacity: 0;
}
38%{
  opacity: 0;
}
100%{
  opacity: 0;
}
}



 
.item2 {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  height: auto;
  opacity: 0;
  animation :slideshow 24s linear infinite;
  animation-duration: normal;
}
 .item2:nth-child(1){
  animation-delay: 0s;
}
 .item2:nth-child(2){
  animation-delay: 6s;
}
 .item2:nth-child(3){
  animation-delay: 12s;
}
 .item2:last-child{
  animation-delay: 18s;
}


.css_slide3 {
  position: relative;
  width: 1000px;
  height: 800px;
  overflow: hidden;
  margin-left: 14%;

 
}
 
.css_slide4 {
  position: relative;
  width: 1000px;
  height: 475px;
  overflow: hidden;
  margin-left: 25px;
  margin-bottom: 25px;
 
}



 /* ↓ ↓ ↓ ↓ ↓ ↓ SP　↓ ↓ ↓ ↓ ↓ ↓ ↓ */
 @media screen and (max-width: 768px) {

.css_slide3 {
  position: relative;
  width: 75vw;
  height: auto;
  overflow: hidden;
  margin-left: 10%;
  
  margin-bottom: 20px;
}
 
.css_slide3 img {
  width: 100%;
  height: auto;
 
}
 
.css_slide4 {
  position: relative;
  width: 75vw;
  height: 60vw;
  overflow: hidden;
  margin-left: 10%;
  margin-bottom: 25px;
 }

 .css_slide4 img {
  width: 100%;
  height: auto;
 }
 
}
/* ↑ ↑ ↑ ↑ ↑ ↑ ↑ ↑ ↑ SP ↑ ↑ ↑ ↑ ↑ ↑ ↑ ↑ ↑  */

 

@keyframes slideshow {
0%{
  opacity: 0;
}
5%{
  opacity: 0;
}
28%{
  opacity: 0;
}
38%{
  opacity: 0;
}
100%{
  opacity: 0;
}
}
 
.item4 {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  height: auto;
  opacity: 0;
  animation :slideshow 52s linear infinite;
  animation-duration: normal;
}
 


.item4:nth-child(1){
  animation-delay: 0s;
}
 .item4:nth-child(2){
  animation-delay: 5s;
}
.item4:nth-child(3){
  animation-delay: 10s;
}
 .item4:nth-child(4){
  animation-delay: 15s;
}
 .item4:nth-child(5){
  animation-delay: 20s;
}
 .item4:nth-child(6){
  animation-delay: 25s;
}
.item4:nth-child(7){
  animation-delay: 30s;
}
.item4:nth-child(8){
  animation-delay: 35s;
}
 .item4:nth-child(9){
  animation-delay: 40s;
}
 .item4:last-child{
  animation-delay: 45s;
}


 
 











/*****ここから会話のCSS*****/

#chat {
  width: 90%;
  margin-bottom: 200px;
  margin-left: auto;
 margin-right: auto;
  }
 

 


.chat {
  margin: 0em 0 0em 1.5em;
  padding-right: 10%;
  font-size: 130%;
  letter-spacing: 1.75px;
  overflow: hidden;
  display: flex;
  align-items: flex-start;
}

.icon {
  width: 9%;
  margin: 1em 2em 0 0;
  min-width: 100px;
  text-align: center;
}
    
.chat-icon__img {
  border-radius: 50%;
  margin: 0;
  max-width: 100%;
  height: 100%;
}

.icon .name {
  font-size: 80%;
  padding: 0.6em 0 0 0;
  text-align: center; 
}

.chat .hukidashi {
  border: 3px solid #ccc;
  color: #444;
  line-height: 2.0;
  margin: 1em 0 1em 0;
  position: relative;
  width: 50%;
  border-radius: 1.2em 1.2em 1.2em 1.2em;
  padding: 1% 2%;
}
    

.chat .hukidashi::before {
  content: "";
  border: 10px solid transparent;
  border-right: 10px solid #ccc;
  margin-left: -20px;
  top: 15%;
  left: 0;
  position: absolute;
}

/* ::afterで吹き出しを追加し重ねる */
.chat .hukidashi::after {
  content: "";
  border: 10px solid transparent;
  border-right: 10px solid #fff;
  margin-left: -16px;
  top: 15%;
  left: 0;
  position: absolute;
}



/*****右吹き出し設定*****/



.chat2 {
  margin: 0em 0 0em 1.5em;
  padding-left: 10%;
  font-size: 130%;
  letter-spacing: 1.75px;
  overflow: hidden;
  display: flex;
  align-items: flex-start;
}

.chat2 .icon{
  margin: 0 0 0 2em;
}

.chat2 .icon .name {
  font-size: 65%;
 
  text-align: center;
}
.chat2 .hukidashi {
  border: 3px solid #ccc;
  color: #444;
  line-height: 2.0;
  margin: 0 0 0em 0;
  position: relative;
  width: 50%;
  border-radius: 1.2em 1.2em 1.2em 1.2em;
  padding: 1% 2%;
}
    

.chat2 .hukidashi::before {
  content: "";
  border: 10px solid transparent;
  border-left: 10px solid #ccc;
  margin-left: 2px;
  top: 15%;
  left: 100%;
  position: absolute;
}

/* ::afterで吹き出しを追加し重ねる */
.chat2 .hukidashi::after {
  content: "";
  border: 10px solid transparent;
  border-left: 10px solid #fff;
  margin-left: -2px;
  top: 15%;
  left: 100%;
  position: absolute;
}








 /* ↓ ↓ ↓ ↓ ↓ ↓ SP　↓ ↓ ↓ ↓ ↓ ↓ ↓ */

 @media screen and (max-width: 768px) {
  
#chat {
  width: 95%;
  margin-bottom: 35px;
  margin-top: -125px;
  margin-left: auto;
 margin-right: auto;
  }
 
  

#chat h2 {
  margin-bottom: -35px;
}





.chat {
  margin: 1em -4em 1em 0.5em;
  padding-right: 2.5%;
  font-size: 0.65em;
  letter-spacing: 0.25px;
  overflow: hidden;
  display: flex;
  align-items: flex-start;
}



.icon {
  width: 110px;
  height: auto;
  margin: 1em -2em 0 0;
  min-width: 0px;
  text-align: center;
}
    
.chat-icon__img { 
  border-radius: 50%;
  margin: 0;
  max-width: 70px;
  height:auto;
}

.icon .name {
  font-size: 60%;
  padding: 0.5em 4.5em 0em 0em;
  text-align: center; 
}

.chat .hukidashi {
  border: 3px solid #ccc;
  color: #444;
  line-height: 2.0;
  margin: 1em 0 1em 0;
  position: relative;
  width: 50%;
  border-radius: 1.2em 1.2em 1.2em 1.2em;
  padding: 1% 2% 1% 3%;
}
    

.chat .hukidashi::before {
  content: "";
  border: 10px solid transparent;
  border-right: 10px solid #ccc;
  margin-left: -20px;
  top: 15%;
  left: 0;
  position: absolute;
}

/* ::afterで吹き出しを追加し重ねる */
.chat .hukidashi::after {
  content: "";
  border: 10px solid transparent;
  border-right: 10px solid #fff;
  margin-left: -16px;
  top: 15%;
  left: 0;
  position: absolute;
}



/*****右吹き出し設定*****/



.chat2 {
  margin: 0em -7em 0em 5em;
  padding-left: 0%;
  font-size: 0.65em;
  letter-spacing: 0.25px;
  overflow: hidden;
  display: flex;
  align-items: flex-start;
}

.chat2 .icon{
  margin: -1em 0 0 1.5em;
}

.chat2 .icon .name {
  font-size: 60%;
  
  text-align: center;
}
.chat2 .hukidashi {
  border: 3px solid #ccc;
  color: #444;
  line-height: 2.0;
  margin: 0 0 0em 0em;
  position: relative;
  width: 50%;
  border-radius: 1.2em 1.2em 1.2em 1.2em;
  padding: 1% 2% 1% 3%;
}
    

.chat2 .hukidashi::before {
  content: "";
  border: 10px solid transparent;
  border-left: 10px solid #ccc;
  margin-left: 2px;
  top: 15%;
  left: 100%;
  position: absolute;
}

/* ::afterで吹き出しを追加し重ねる */
.chat2 .hukidashi::after {
  content: "";
  border: 10px solid transparent;
  border-left: 10px solid #fff;
  margin-left: -2px;
  top: 15%;
  left: 100%;
  position: absolute;
}


  }
  /* ↑ ↑ ↑ ↑ ↑ ↑ ↑ ↑ ↑ SP ↑ ↑ ↑ ↑ ↑ ↑ ↑ ↑ ↑  */


/*ここまでtalk↑ */

















/* ここからworks1↓ */
    
#works1 {
  width: 90%;
  margin-left: auto;
  margin-right: auto;
  margin-top: 100px;
  
 
  }

#side{
  display: flex;
  margin-top: 50px;

}

/* CSSスライド設定 */

.css_slide {
  position: relative;
  width: 750px;
  height: 475px;
  overflow: hidden;
 
}
 

@keyframes slideshow {
0%{
  opacity: 0;
}
5%{
  opacity: 1;
}
28%{
  opacity: 0;
}
38%{
  opacity: 0;
}
100%{
  opacity: 0;
}
}
 
.item {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  height: auto;
  opacity: 0;
  animation :slideshow 44s linear infinite;
  animation-duration: normal;
}
 
.item:nth-child(1){
  animation-delay: 0s;
}
.item:nth-child(2){
  animation-delay: 6s;
}
 .item:nth-child(3){
  animation-delay: 12s;
}
.item:nth-child(4){
  animation-delay: 18s;
}
.item:nth-child(5){
  animation-delay: 24s;
}
.item:nth-child(6){
  animation-delay: 30s;
}
.item:last-child{
  animation-delay: 36s;
}


/* ここまでworks1↑ */








/* 
ここからスクロールダウン↓ */



/*タイムライン全体の設定*/
.timeline{
	max-width: 50%;
	width:100%;
	margin:25px auto;
	padding:0 30px;
  font-size: 1.2vw;
  font-weight: bold;
  line-height: 1.1em;
   color: #001f4d;
}

.timeline li{
    /*線の起点とするためrelativeを設定*/
    position: relative;
	list-style: none;
	padding:0 0 25px 0;
}

.timeline dd{

font-size: 1em;
  font-weight: normal;
  line-height: 1em;
   color: #001f4d;
}

.timeline dl{
	margin:0 0 20px 2em;
}

/*絶対配置で線を設定*/
.border-line {
    /*線の位置*/
	position: absolute;
	left:0.15em;
	top:8px;
	width:2px;/*線の太さ*/
	height:0;/*はじめは高さを0に*/
	background: #ccc;
}

/*タイムラインの見出し横の丸の位置と形状*/
.timeline li::after{
	content:'';
	position: absolute;
	top: 8px;
	left:0;
	width:10px;
	height: 10px;
	background:#666;
	border-radius: 50%;
}








/* ↓ ↓ ↓ ↓ ↓ ↓ SP　↓ ↓ ↓ ↓ ↓ ↓ ↓ */

@media screen and (max-width: 768px) {


/* ここからworks1↓ */
    
#works1 {
  width: 95%;
  margin-left: auto;
  margin-right: auto;
  margin-top: 25px;
    }

#side{
  display: flex;
  margin-top: 0px;

}

/* CSSスライド設定 */

.css_slide {
  position: relative;
  width: 70%;
  height: 120px;
  overflow: hidden;
 
}
 

@keyframes slideshow {
0%{
  opacity: 0;
}
5%{
  opacity: 1;
}
28%{
  opacity: 0;
}
38%{
  opacity: 0;
}
100%{
  opacity: 0;
}
}
 
.item {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  height: auto;
  opacity: 0;
  animation :slideshow 44s linear infinite;
  animation-duration: normal;
}
 
.item:nth-child(1){
  animation-delay: 0s;
}

.item:nth-child(2){
  animation-delay: 6s;
}
 

.item:nth-child(3){
  animation-delay: 12s;
}

.item:nth-child(4){
  animation-delay: 18s;
}

.item:nth-child(5){
  animation-delay: 24s;
}

.item:nth-child(6){
  animation-delay: 30s;
}


.item:last-child{
  animation-delay: 36s;
}


/* ここまでworks1↑ */








/* 
ここからスクロールダウン↓ */



/*タイムライン全体の設定*/
.timeline{
	max-width: 50%;
	width:100%;
	margin:0px auto;
	padding:1px 0px 0 5px;
  font-size: 0.6em;
  font-weight: bold;
  line-height: 1.1em;
   color: #001f4d;
}

.timeline li{
    /*線の起点とするためrelativeを設定*/
    position: relative;
	list-style: none;
	padding:0 0 0px 0;
}

.timeline dd{

font-size: 0.8em;
  font-weight: normal;
  line-height: 1em;
   color: #001f4d;
   margin-left:0px;
}

.timeline dl{
	margin:0 0 10px 10px;
}

/*絶対配置で線を設定*/
.border-line {
    /*線の位置*/
	position: absolute;
	left:0.185em;
	top:8px;
	width:2px;/*線の太さ*/
	height:0;/*はじめは高さを0に*/
	background: #ccc;
}

/*タイムラインの見出し横の丸の位置と形状*/
.timeline li::after{
	content:'';
	position: absolute;
	top: 2px;
	left:0;
	width:6px;
	height: 6px;
	background:#666;
	border-radius: 50%;
}



}

/* ↑ ↑ ↑ ↑ ↑ ↑ ↑ ↑ ↑ SP ↑ ↑ ↑ ↑ ↑ ↑ ↑ ↑ ↑  */










/* ここからworks2↓ 
    
#works2 {
  width: 95%;
  margin-left: auto;
  margin-right: auto;
  margin-top: 150px;
 
  
  }


  #works2 h2{
  margin-left: 50px;
  }


  #side2{
    display: flex;
    margin-top: 50px;
  }

  

#works2 img {
  width: 700px;
  height: 450px;
  margin-right:50px;
  margin-left:50px;
  box-shadow:rgba(0, 0, 0, 0.2)  7px 7px 7px;
  -webkit-box-shadow:rgba(0, 0, 0, 0.2)  7px 7px 7px;
  -moz-box-shadow:rgba(0, 0, 0, 0.2)  7px 7px 7px;
}


#works2 p {
        width:100%;
        text-align: left;
        font-size: 1.2em;     
        margin-top: 30px;
        margin-left: 55px;
        display: flex;
       
}



#side2 ul{
  margin: 0px;
  padding: 0px;
  list-style: none;
}

#side2 li {
  float: left;
  position: relative;
}

#side2 li:last-child {
  margin-left: 50px;
}

#side2 li span {
  display: block;
  width: 160px;
  height: 80px;
  line-height: 80px;
  letter-spacing: 0.06em;
  background: #001f4d;
  border-radius: 5%;
  text-align: center;
  color: #fff;
  font-size: 24px;
  position: absolute;
  top: -15px;
  right: +5px;
}

#side2 li:last-child::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: -30px;
  margin: auto;
  box-sizing: border-box;
  width: 15px;
  height: 15px;
  border: 30px solid transparent;
  border-left: 15px solid #001f4d;
}



ここまでworks2↑ */











  

/* ここからsafety↓ */
    
#safety {
  width: 90%;
  margin-left: auto;
  margin-right: auto;
  margin-top: 25px;
  
 
  }


  #safety img {
    width: 44%;
    height: auto;
    box-shadow:rgba(0, 0, 0, 0.2)  7px 7px 7px;
    -webkit-box-shadow:rgba(0, 0, 0, 0.2)  7px 7px 7px;
    -moz-box-shadow:rgba(0, 0, 0, 0.2)  7px 7px 7px;
  }
  

#side3{
  display: flex;
  margin-top: 50px;

}


#under_text {
font-size: 0.75em;
color: #666;
text-align: left;
align-items:first baseline;
display: flex;
}




#safety h3 {
  font-size: 1.5em;
  }

 



  #safety ul p {
    text-align: left;
    font-size: 1.3vw;
    font-weight: bold;
    line-height: 1.5em;
    color: #001f4d;
    align-items:first baseline;
    margin-top: 10px;
    margin-left:60px;
    display: flex;
}






/* ↓ ↓ ↓ ↓ ↓ ↓ SP　↓ ↓ ↓ ↓ ↓ ↓ ↓ */

@media screen and (max-width: 768px) {




#safety {
  width: 95%;
  margin-left: auto;
  margin-right: auto;
  margin-top: 0px;
   }

  #safety img {
    width: 49%;
    height: auto;
    box-shadow:rgba(0, 0, 0, 0.2)  7px 7px 7px;
    -webkit-box-shadow:rgba(0, 0, 0, 0.2)  7px 7px 7px;
    -moz-box-shadow:rgba(0, 0, 0, 0.2)  7px 7px 7px;
  }
  
#side3{
  display: flex;
  margin-top: 0px;

}

#under_text {
font-size: 0.45em;
color: #666;
text-align: left;
align-items:first baseline;
display: flex;
}

#safety h3 {
  font-size: 1.5em;
  }



  #safety ul p {
    text-align: left;
    font-size: 1.725vw;
    font-weight: bold;
    line-height: 1.5em;
    color: #001f4d;
    align-items:first baseline;
    margin-top: 0px;
    margin-left:10px;
    display: flex;
}





}
/* ↑ ↑ ↑ ↑ ↑ ↑ ↑ ↑ ↑ SP ↑ ↑ ↑ ↑ ↑ ↑ ↑ ↑ ↑  */



/* ここまでsafety↑ */






















#leftContents {
float: left;
}
#leftContents section {
  clear: both;
  width: 937.5px;
  height: 350px;
  background-color: #f8f7f7;
  margin-top: 0px;
  margin-left: 100px;
  margin-bottom: 70px;
   
}
#leftContents section:first-of-type {
  height: 350px;
  }


  td a{
    text-decoration: none;
  }
  

.contentsTitle table {
  border: 0px;
  margin-left: 15px;
  margin-top: 21px;
  font-size: 16px;
  line-height: 1.7;
  
}
.contentsTitle th {
  font-weight: normal;
  text-align: left;
  padding-right: 20px;
}
.contentsTitle p {
  width: 900px;
  margin-top: 15px;
  padding-left:120px;
}

.diary p {
 margin-top: 40px;
 margin-left: 20px;
 margin-right: 50px;
 font-size: 17px;
 line-height: 1.7;
}






aside {
  width: 750px;
  float: left;
  margin-left: 50px;
 
}






#slide {
  clear: both;
  width: 1403px;
  margin-left: auto;
  margin-right: auto;
  }
  
  

#mainPhoto {
  width: 100%;
  margin-left: auto;
  margin-right: auto;

  
}







footer {
  clear: both;
  
 

}
#footerInner {
  overflow: hidden;
  width: 100%;
  
  margin-left: auto;
  margin-right: auto;
  z-index: 10;
  transform: rotateX(180deg);
  
}
#copyright {
  font-size: 14px;
  padding-left: 25px;
  color: #fff;
  float: left;
  }





 /* ↓ ↓ ↓ ↓ ↓ ↓ SP　↓ ↓ ↓ ↓ ↓ ↓ ↓ */

 @media screen and (max-width: 768px) {
  #copyright {
    font-size: 8px;
    padding-left: 10px;
    color: #fff;
    float: left;
    }
  
  



  }
  /* ↑ ↑ ↑ ↑ ↑ ↑ ↑ ↑ ↑ SP ↑ ↑ ↑ ↑ ↑ ↑ ↑ ↑ ↑  */











  

/* ここから波フッター　id名整合しながら変更していく↓ */

.footer1 {
  position:relative;
  text-align:center;
  background: linear-gradient(60deg, rgba(84,58,183,1) 0%, rgba(0,172,193,1) 100%);
  color:white;
  transform: rotateX(180deg);
}


.inner-footer1 {
  height:50px;
  width:100%;
  margin: 0;
  padding: 0;
}

.flex { /*Flexbox for containers*/
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.waves {
  position:relative;
  width: 100%;
  height:15vh;
  margin-bottom:-7px; /*Fix for safari gap*/
  min-height:100px;
  max-height:1px;
}

.content {
  position:relative;
  height:20vh;
  text-align:center;
  background-color: white;
}

/* Animation */

.parallax > use {
  animation: move-forever 25s cubic-bezier(.55,.5,.45,.5)     infinite;
}
.parallax > use:nth-child(1) {
  animation-delay: -2s;
  animation-duration: 14s;
}
.parallax > use:nth-child(2) {
  animation-delay: -3s;
  animation-duration: 20s;
}
.parallax > use:nth-child(3) {
  animation-delay: -4s;
  animation-duration: 26s;
}
.parallax > use:nth-child(4) {
  animation-delay: -5s;
  animation-duration: 40s;
}
@keyframes move-forever {
  0% {
   transform: translate3d(-90px,0,0);
  }
  100% { 
    transform: translate3d(85px,0,0);
  }
}
/*Shrinking for mobile*/
@media (max-width: 768px) {
  .waves {
    height:40px;
    min-height:40px;
  }
  .content {
    height:30vh;
  }

}


/* ここまで波フッター↑ */





/* ここからh2スライド↓ */

/* 
#slideMotion ul li {
  clear: both;
  margin-bottom: 20px;
  position: relative;
}

#slideMotion ul li p {
  margin: 0.2em 0 0 0;
  display: block;
  float: left;
  font-size: 24px;
  text-align: left;
  line-height: 2;
  font-weight: bold;
  color: #fdffdee5;
}

#slideMotion ul li p:last-of-type {
  display: block;
  float: left;
}

#slideMotion section:first-of-type {
  box-sizing: border-box;
  width: calc(50% - 100px);
  padding: 0 calc(50% - 700px) 0 0 ;
  margin: 55px 0 0;
}

#slideMotion section:last-of-type {
  box-sizing: border-box;
  width: calc(50% - 100px);
  padding: 0 0 0 calc(50% - 500px);
  margin: 75px 0 0;
}
#slideMotion .container>:nth-child(1) {
  order: 2;
}
#slideMotion .container>:nth-child(2) {
  order: 1;
}
#slideMotion .container>:nth-child(3) {
  order: 3;
}
#slideMotion .container>:nth-child(4) {
  order: 4;
}


#slideMotion .container {
  display: flex;
  flex-wrap: wrap;
  flex-direction: row;
  justify-content: space-between;
}

#slideMotion .container div {
  width: 50%;
  
}


#slideMotion .container div img {
  width: 100%;
  height: auto;
}



#slideMotion .container section h2 {
  text-align: left;
  font-size:30px;
  font-weight: bold;
  color: #fdffdee5;
  }





/* ここからh2_fade処理↓ */
/* #scroll {
  height:60vh;
}

.hide-down {
  transition: 1.5s;
  opacity: 0;
  transform: translateY(100px);
}
.hide-left {
  transition: 1.5s 0.7s;
  opacity: 0;
  transform: translateX(-50px);
}
.show {
  transition: 1.5s 0.5s;
  opacity: 1 !important;
  transform: translate(0px, 0px) !important;
}


 */



/* ここまでh2_fade処理↑ */

/* ここまでh2スライド↑ */




