/*
Theme Name: Stammy-corporate

*/

@charset "UTF-8";

html {
  font-size: 100%;
  max-width: 100%;
  
  overflow-x: hidden !important;/*position abusolutを使うと右側に余白ができるので予防する*/
  width: 100% !important;/*position abusolutを使うと右側に余白ができるので予防する*/
}
header {
  background-color: aliceblue;
  height: 100px;
}
body {
  background-color: #d5e5fd;
  font-family: "Yu Gothic Medium" , "游ゴシックMedium" , YuGothic,"游ゴシック体", "ヒラギノ角ゴ Pro W3",sans-serif;
  line-height: 1.7;
  color: #746b6b;
  margin: 0;
-webkit-text-size-adjust: 100%;/*レスポンシブの時の文字の設定*/
}

/*--ハンバーガーメニュー.モバイル版に続き有り---*/


#input {
  display: none;
}
  
.menu-sumaho {
  position: fixed;
  left: -1%;
  top: 50px;
	z-index: 1;
}
.line {
  width: 20px;
  height: 3px;
  background-color: black;
  margin: 3px;
}
#content {
  background-color: rgb(248, 244, 244);
  width: 130px;
  height: 150px;
  transform: translateX(-200px);
  z-index: 999;
  position: relative;
}

#input:checked ~ #content{
	transform: translatex(0px);/*通常値に戻す*/
  height: 183px;
}

.menu-pc {
  position: relative;
  top:100px;
}
.link-1 {
  display: flex;
  flex-flow: column;
  position: relative;
  left: 25px;
  font-size: 1.2rem;
}
.link {
  display: flex;
  flex-flow: column;
  position: relative;
  top: -100px;
  left: -13px;
  font-size: 1.2rem;
}

.logo img {
  position: relative;
  width: 10%;
  left: 4%;
  top: 20px;
}
/*====ここまで======*/


a {
  /*下線をなくす*/
  text-decoration: none;
}
.main-nav {
  display: flex;
  font-size: 1.25rem;
  text-transform: uppercase;
  list-style: none;
  left: 28%;
  position: relative;
  top: -186px;
}
.main-nav li {
  margin: 36px;
}
.main-nav a {
  color: #746858;
}
.main-nav a:hover{
  color: #0bd
}

.home-content {
  text-align: center;
  height: 725px;
  background: url(images/smart-4168483_1920.jpg);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: -35px;
  width: 105%;
}
.home-content h1 {
  font-size: 5rem;
}
.home-content p {
  font-size: 3rem;
}
.midasi h2 {
  font-size: 9rem;
}

.concept {
  text-align: center;
  height: 300px;
}

.conts {
  font-size: 2.5rem;
}
.conts h4 {
  font-size: 1.7rem;
}
.midorumidasi h4 {
  font-size: 1.7rem;
}
.midorumidasi p {
  font-size: 1.1rem;
  width: 90%;
  margin: 0 auto;

}

.content {
  display:flex;
  flex-direction: row;
  justify-content: space-between;
  width: 85%;
  margin: 0 auto;
  padding-top: 90px;
}
.content-2 {
  display:flex;
  flex-direction: row-reverse;
  justify-content: space-between;
  width: 85%;
  margin: 0 auto;
  padding-top: 90px;
}
.con {
  width: 50%;

}
.content img {
  width: 41%;
}
.content-2 img {
  width: 41%;
}
.content h5 {
  font-size: 2rem;
}
.content p{
  font-size: 1.1rem;
  text-align: left;
}
.content-2 h5 {
  font-size: 2rem;
}
.content-2 p{
  font-size: 1.1rem;
  text-align: left;
}


/*==================================================
スライダーのためのcss
===================================*/
.autoplay-slider{
  display: flex;
  width: 100%;
}
.slide img{
  height: 200px;
  width: 400px;
  /*
  background: #3486eb;
  border: 1px solid #000;*/
  margin: 20px;
  position: relative;
} 

@keyframes sliderAnimation {
  100% {
    transform: translateX(-50%);
  }
}
.autoplay-slider{
  display: flex;
  min-width: 100%;
  width: min-content;
  animation: 20s linear infinite sliderAnimation;
}
.slider {
  height: 500px;
  padding-top: 200px;
}
.slider h3 {
  padding-left: 100px;
  font-size: 1.8rem;
}
.row{
  /*IE対策*/
  display: -ms-grid;
  -ms-grid-columns: min-content;
}


/*========= レイアウトのためのCSS ===============*/

body{
  background:#eee;
}

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

a{
  color: #333;
}

a:hover,
a:active{
  text-decoration: none;
}

/* 記事一覧 */

.kijiitirann img {
  width: 100%;
  max-height: 240px;
}

.kijiitirannblok {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 1fr;
  grid-row-gap: 6px;
  grid-column-gap: 6px;
  padding: 0;
  margin: 0;
  list-style-type: none;
}

.kijiitirannblok li {
  box-sizing: border-box;
  margin: 10px;
}

.kijiitirann .kiji_category,
.kijiitirann h5,
.kijiitirann .excerpt p {
  margin: 0px 10px 0px 10px;
}

.kijiitirann .excerpt p {
  font-size: 0.9em;
  color: #777;
}

.kijiitirann a {
  color: #333;
}

.excerpt {
  position: relative;
  height: 174px;
}

.excerpt a {
  color: rgb(180, 181, 245);
}

.btn-primary {
  position: absolute;
  bottom: 10px;
  left: 10px;
}

/* 記事一覧 end*/


/*=====================フッター====================*/
.footer-fle {
  display:flex;
  flex-direction: row-reverse;
  justify-content: space-between;
  width: 85%;
  margin: 0 auto;
  padding-top: 200px;
}

.footer-logo img {
  position: relative;
  width: 125%;
  position: relative;
  top: 76px;
}
.footer-nav {
  width: 60%;
  font-size: 1.5rem;
  letter-spacing: 8.3px;
  position: relative;
  top: 77px;
  left: 62%;
  transform: translateX(-50%);
}
ul {
  list-style: none;
}
.item-2 {
  padding-bottom: 15px;
}
.name {
  text-align: center;
  font-size: 1.3rem;
  padding-top: 100px;
}
.co {
  text-align: center;
  padding-top: 100px;
}

/*-------------------------------------------
カラム部分
-------------------------------------------*/
.main {
  padding: 20px;
}
.arc {
  display: flex;
  margin: 0 auto;
  width: 85%;
  padding-top: 100px;
}

.side {
  width: 40%;
  padding: 20px;
}
.author img {
  padding-bottom: 30px;
  width: 95%;
}
  
/*-------------------------------------------
SP
-------------------------------------------*/
@media screen and (max-width: 767px) {
  /*-------------------------------------------
  aside
  -------------------------------------------*/
  #sidebar {
    width: 100%;
    padding: 0;
  }
}

  
/*===ハンバーガーメニューの続き===*/

@media screen and (min-width: 740px){
  .menu-sumaho {
    display: none;
  }
}
/*=============================モバイルmax-width1000px====================*/ 
@media screen and (max-width: 1000px){
  .main-nav {
    font-size: 1rem;
    left: 12%;
    top: -135px;
  }


  .footer-fle {
    display: initial;
  }

  .footer-nav {
    margin: 0;
    position: relative;
    top: 77px;
    text-align: center;
    left: 50%;
  }
  .footer-logo img {
    width: 90%;
    left: 50%;
      transform: translateX(-50%);
  }
  .content img {
    width: 41%;
    height: 300px;
    padding-top: 63px;
  }
  .content-2 img {
    width: 41%;
    height: 300px;
    padding-top: 63px;
  }
  .bigpic-1 {
    background-position-y: -39px!important;
  }
}
    
    
/*=============================モバイルmax-width740px====================*/ 
@media screen and (max-width: 740px){
    
  .menu-pc {
    display: none;
  }
  .logo img {
    width: 32%;
    left: 59%;
    top: 0px;
  }

  .midasi h2 {
    font-size: 4rem;
  }
  .home-content h1 {
    font-size: 3rem;
  }
  .content {
      display: initial;
  }
  .content img {
    width: 90%;
    padding-top: 100px;
    position: relative;
    left: 50%;
    transform: translateX(-50%);
  }
  .content-2 {
    display: initial;
  }
  .content-2 img {
    width: 90%;
    padding-top: 100px;
    position: relative;
    left: 50%;
    transform: translateX(-50%);
  }
  .con {
    padding: 0;
    width: 90%;
  }
  .kijiitirannblok {
    display: initial;
  }
      
  .blog-detail__body img {
    width: 91%!important
  }

  /*=====================事業内容ページ==================*/
  .arc {
    display: initial;
  }
  .service img {
    width: 100%!important;
  }
  .side {
    width: 95%;
    padding: 13px;
    margin: 0 auto;
  }
  /*======================新着情報========================*/
  .midasi-sav {
    padding-top: 0!important;
  }

  /*=====================会社概要======================*/
  .gaiyou img {
    width: 95%;
  }
  
  /*===================投稿記事=======================*/
  .kiji {
    display: block !important;
  }
  .kijinaiyo {
    width: 100% !important;
    padding-right: 0% !important;
  }
  .side-2 {
    width: 100% !important;
    padding-top: 70px;
  }
}



