/*
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を使うと右側に余白ができるので予防する*/
}

body {
  background-color: #d5e5fd;
  font-family: "Yu Gothic Medium" , "游ゴシックMedium" , YuGothic,"游ゴシック体", "ヒラギノ角ゴ Pro W3",sans-serif;
  line-height: 1.7;
  color: #6c6969;
  margin: 0;
  -webkit-text-size-adjust: 100%;/*レスポンシブの時の文字の設定*/
}

/****ヘッダー***/
header {
  background: transparent;
  box-shadow: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 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
}

/*****ファーストビュー*****/
/* 背景レイヤーの親 */
.hero-bg {
  position: relative;
  min-height: 200vh; /* 1つ目+2つ目をカバー */
  overflow: hidden;
}

/* 背景画像はここに1回だけ描画 */
.hero-bg::before {
  content: "";
  position: fixed;       /* ← これが超重要 */
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background-image: url('images/smart-4168483_1920.jpg');
  background-size: cover;
  background-position: center;
  /* transform: scale(1); */
  transform: scale(var(--hero-scale, 1));
  transition: transform 0.1s linear;
  z-index: -1;
}

/* ▼ ファーストビューコンテンツ */
.fv {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
}

/* ▼ 2つ目コンテンツ */
.lead-section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lead-inner {
  background: rgba(255,255,255,0.75);
  padding: 40px;
  border-radius: 16px;
}

/* ▼ 3つ目のコンテンツ以降のカラー */
.normal-section {
  background: #fff;
  padding: 100px 20px;
}

/**3つ目（1つ目)コンテンツ***/
.content {
  display:flex;
  flex-direction: row;
  justify-content: space-between;
  width: 100%;
  margin: 0 auto;
  padding-top: 10%;
}
.content img {
  width: 100%;
}
.contents {
  width: 60%;
  margin-left: 5%;
  padding-top: 18%;
}
.contents h5 {
  font-size: 2rem;
}

.contents p{
  font-size: 1.1rem;
  text-align: left;
  width: 35%;
}


.content-2 {
  display:flex;
  justify-content: space-between;
  width: 100%;
  margin: 0 auto;
  padding-top: 10%;
}
.contentsSecond {
  width: 60%;
  padding-top: 18%;
  margin-left: 5%;
}

.content-2 img {
  width: 100%;
}
.contentsSecond h5 {
  font-size: 2rem;
}
.contentsSecond p{
  font-size: 1.1rem;
  width: 50%;
}

/*リンクボタン*/
.btn-partial-line {
  position: relative;
  display: inline-block;
  font-weight: bold;
  padding: 0.25em 0.5em;
  text-decoration: none;
  border-bottom: solid 2px #868686;
  border-left: solid 2px #868686;
  color: #868686;
  transition: .4s;
  margin-top: 4%;
}
.btn-partial-line:hover {
  padding-left: 0.7em;
  padding-right: 0.3em;
}


/*==================================================
スライダーのための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 {
  max-width: 100%;
  margin: 0 auto;
}

.autoplay-slider .slide {
  width: 180px; /* 画像ボックスの幅を固定 */
  margin: 0 10px;
}

.autoplay-slider img {
  width: 100%;
  height: auto;
  object-fit: cover;
  display: block;
}

/*========= レイアウトのための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;
  }
  .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;
  }
}



