@charset "utf-8";

/* ::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
   * メイン
/* ::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: */
/* -------------------------------------------------------------------------------------------------
   * セクショニング
/* ---------------------------------------------------------------------------------------------- */

#main {}

#main-contents {}

#main-contents div.body {
  padding-left: 20px;
  padding-right: 20px;
  margin: 0 auto;
}

#main-contents .column ~ .column {
  margin-top: 40px;
}

/* :::::::: ブレイクポイント :::::::: */

@media screen and (max-width:1100px) {

 #main-contents div.body {
   max-width: 100%;
   padding: 0 20px;
   margin: 0 auto;
 }
}

/* :::::::: ブレイクポイント :::::::: */

@media screen and (max-width:736px) {

#main-contents > .section {
  padding-top: 4em;
  padding-bottom: 4em;
}

#main-contents div.body {
  max-width: 100%;
  padding:0 20px;
  margin: 0 auto;
}

#main-contents .column ~ .column {
  margin-top: 20px;
}

}

/* ****************************************************************************************************
   * ビジュアル
**************************************************************************************************** */
/* ----------------------------------------------------------------------------------------------------
   * 共通
/* ------------------------------------------------------------------------------------------------- */

.layout-lower .visual {
  background: url("../../_images/feature/visual.jpg") no-repeat;
  background-size: cover;
}

/* ****************************************************************************************************
   * 鹿山製作所の特長
**************************************************************************************************** */
/* ----------------------------------------------------------------------------------------------------
   * 共通
/* ------------------------------------------------------------------------------------------------- */

.feature {
  position: relative;
  padding-top: 100px;
  padding-bottom: 100px;
}

.feature .body {
  max-width: 1120px;
}

/* :::::::: ブレイクポイント :::::::: */

@media screen and (max-width:736px) {
  /*ブラウザの幅が736px以下の時*/
  .feature {
    position: relative;
    padding-top: 50px;
    padding-bottom: 50px;
  }
}

/* ****************************************************************************************************
   * セクション1
**************************************************************************************************** */
/* ----------------------------------------------------------------------------------------------------
   * タイトル
/* ------------------------------------------------------------------------------------------------- */

.feature .title {
  position: relative;
  text-align: left;
  font-size: 3.8rem;
  font-weight: bold;
  color: var(--c-l-blue);
  display: flex;
  align-items: center;
  line-height: 1.4;
}
.feature .title span {
  position: relative;
  z-index: 1;
  width: 100px;
  height: 116px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  margin-right: 0.5em;
  color: #fff;
  font-size: 4.5rem;
}
.feature .title span::before {
  content: "";
  display: block;
  background: url("../../_images/_common/title-icon.png") no-repeat;
  width: 100px;
  height: 116px;
  background-size: 100%;
  position: absolute;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
  z-index: -1;
}

/* :::::::: ブレイクポイント :::::::: */

@media screen and (max-width:736px) {
  /*ブラウザの幅が736px以下の時*/
  .feature .title {
    font-size: 2.4rem;
  }
  .feature .title span {
    width: 50px;
    height: 58px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    margin-right: 0.5em;
    color: #fff;
    font-size: 2.2rem;
  }
  .feature .title span::before {
    content: "";
    display: block;
    background: url("../../_images/_common/title-icon.png") no-repeat;
    width: 50px;
    height: 58px;
    background-size: 100%;
  }
}

/* ----------------------------------------------------------------------------------------------------
   * 内容
/* ------------------------------------------------------------------------------------------------- */

.feature > section ~ section {
  margin-top: 90px;
}

.feature > section:nth-child(even) {
  position: relative;
  height: 500px;
}
.feature > section:nth-child(even) .photo {
  position: absolute;
  top: 50%;
  right: 0;
  transform: translateY(-50%);
  width: calc(50% - 100px);
}
.feature > section:nth-child(even) picture {
  position: relative;
  display: block;
}
.feature > section:nth-child(even) picture img {
  width: 100%;
  height: 500px;
  overflow: hidden;
  object-fit: cover;
}


.feature > section:nth-child(even) .detail {
  max-width: 640px;
  width: 56%;
  margin-left: 0;
  margin-right: auto;
  justify-content: flex-start;
}
.feature > section:nth-child(even) .detail .content {
  max-width: 600px;
}
.feature > section:nth-child(even) .detail .content p {}

/* :::::::: ブレイクポイント :::::::: */

@media screen and (max-width: 900px) {
  /*ブラウザの幅が736px以下の時*/
  .feature > section ~ section {
    margin-top: 50px;
  }
  
  .feature > section:nth-child(even) {
    position: relative; 
    height: auto;
  }
  .feature > section:nth-child(even) .photo {
    position: relative;
    top: 0;
    right: 0;
    transform: translateY(0%);
    width: 90%;
    margin: 1em auto 0;
  }
  .feature > section:nth-child(even) picture img {
    width: 100%;
    height: auto;
    overflow: hidden;
    object-fit: cover;
  }
  
  .feature > section:nth-child(even) .detail {
    max-width: 640px;
    width: 100%;
    margin-top: 1em;
    margin-left: auto;
    margin-right: auto;
    justify-content: flex-start;
  }
  .feature > section:nth-child(even) .detail .content {
    max-width: 100%;
  }
}


/* ****************************************************************************************************
   * セクション2
**************************************************************************************************** */
/* ----------------------------------------------------------------------------------------------------
   * 内容
/* ------------------------------------------------------------------------------------------------- */

.feature > section:nth-child(odd) {
  position: relative;
  height: 500px;
}
.feature > section:nth-child(odd) .photo {
  position: absolute;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
  width: calc(50% - 100px);
}
.feature > section:nth-child(odd) picture {
  position: relative;
  display: block;
}
.feature > section:nth-child(odd) picture img {
  width: 100%;
  height: 500px;
  overflow: hidden;
  object-fit: cover;
}
.feature > section:nth-child(odd) .detail {
  max-width: 640px;
  width: 56%;
  margin-right: 0;
  margin-left: auto;
  justify-content: flex-start;
}
.feature > section:nth-child(odd) .detail .content {
  max-width: 600px;
}

/* :::::::: ブレイクポイント :::::::: */

@media screen and (max-width:900px) {
  /*ブラウザの幅が736px以下の時*/
  .feature > section:nth-child(odd) {
    position: relative;
    height: auto;
  }
  .feature > section:nth-child(odd) .photo {
    position: relative;
    top: 0;
    left: 0;
    transform: translateY(0%);
    width: 90%;
    margin: 1em auto 0;
  }
  .feature > section:nth-child(odd) picture img {
    width: 100%;
    height: auto;
    overflow: hidden;
    object-fit: cover;
  }
  .feature > section:nth-child(odd) .detail {
    max-width: 640px;
    width: 100%;
    margin-top: 1em;
    margin-right: auto;
    margin-left: auto;
    justify-content: flex-start;
  }
  .feature > section:nth-child(odd) .detail .content {
    max-width: 100%;
  }
}




