@charset "utf-8";

.first-view {
  height: calc(100vh - 110px);
  margin-top: 65px;
  margin-left: 150px;
  background-image: url(../images/index/nail-main.jpg);
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover; 
  display: flex;
  align-items: center;
}
/* .slider {
  max-height: 300px;
  height: 200px;
  width: 90%; 親要素の横幅を100%に設定
   スライドする画像の高さを設定
  margin: 0 auto; 中央に寄せるためにmarginを設定
  align-items: center;
  z-index: -1; 
} */

/* .slider  img {
  width: 100%; 画像の横幅を100%に設定
  height: 100%; 画像の高さを100%に設定
  object-fit: cover; 画像が親要素に収まるようにobject-fitを設定
} */

.first-view-text {
  font-family: 'PT Serif', serif;
  width: 100%;
  max-width: 1200px;
  padding-left: 50px;
  margin-left: auto;
  margin-right: auto;
  padding-bottom: 80px;
  color: #ffffff;
  font-weight: bold;
  text-shadow: 1px 1px 10px #4b2c14;
}

.first-view-text h1 {
  font-family: 'PT Serif', serif;
  font-size: 56px;
  line-height: 72px;
}

.first-view-text a {
  font-size: 18px;
  margin-top: 50px;
}

.rectangle {
  position: relative;
  bottom: -150px;
  left: -70%;
  width: 100%;
  height: 100%;
  /* background-color: #ecf4f2; */
  /* background-color: #e4dce8; */
  background-color: #ecf4f2;
  z-index: -1;
}

.concept {
  max-width: 100%;
  padding-top: 100px;
  padding-bottom: 55px;
}

.title h1 {
  font-size: 36px;
  font-weight: bold;
  text-align: center;
  letter-spacing: 5px;
  font-family: 'Raleway', sans-serif;
}

.title h1::after {
  content: '';
  display: block;
  width: 36px;
  height: 2px;
  background-color: #000000;
  margin-top: 15px;
  margin-left: auto;
  margin-right: auto;
}

.title p {
  text-align: center;
  padding-top: 15px;
  color: #645057;
}

.feature {
  display: flex;
  justify-content: space-between;
  width: 930px;
  max-width: 90%;
  margin-top: 90px;
  margin-left: auto;
  margin-right: auto;
  align-items: flex-start;
}

.feature-text {
  max-width: 500px;
  margin-right: 30px;
  margin-top: 60px;
  margin-bottom: 70px;
}

.reverse {
  flex-direction: row-reverse;
}

.reverse .feature-text {
  margin-left: 30px;
  margin-right: 0;
}

.feature-text dt {
  font-size: 30px;
  font-weight: bold;
  line-height: 30px;
  letter-spacing: 4px;
  font-family: 'Raleway', sans-serif;
}

.feature-text dd {
  font-size: 15px;
  line-height: 50px;
  color: #645057;
}


.feature-text p {
  font-size: 15px;
  line-height: 28px;
  margin-top: 25px;
}

.img-area {
  position: relative;
}
.feature img {
  width: 360px;
}


/* .rectangle-reverse {
  position: absolute;
  bottom: -100px;
  left: -75px;
  width: 90%;
  height: 150%;
  background-color: #fbd1b14a;;
  z-index: -1;
} */

.link-button-area {
  text-align: center;
  margin-top: 60px;
}
.link-button {
  background-color: #fee7e7;
  display: inline-block;
  min-width: 180px;
  line-height: 48px;
  border-radius: 24px;
  font-family: 'PT Serif', serif;
  font-weight: bold;
  font-size: 14px;
}

.link-button:hover {
  background-color: #eeb4b5;
}

.design {
  background-color: #f8f4f4;
  margin-top: 20px;
  padding-top: 45px;
  padding-bottom: 55px;
}

.design h2 {
  font-size: 30px;
  font-weight: bold;
  text-align: center;
  letter-spacing: 4px;
  font-family: 'Raleway', sans-serif;
}

.design h2::after {
  content: '';
  display: block;
  width: 36px;
  height: 3px;
  background-color: #000000;
  margin-top: 20px;
  margin-left: auto;
  margin-right: auto;
}

.item-list {
  display: flex;
  padding-top: 40px;
  padding-bottom: 10px;
  padding-left: 60px;
  padding-right: 60px;
  overflow: scroll;
}

.item-list li {
  flex-shrink: 0;
  width: 260px;
  margin-left: 40px;
}

.item-list li:first-child {
  margin-left: 0;
}

.item-list img {
  border-radius: 10px;
}
.item-list p {
  margin-top: 20px;
  text-align: center;
  color:#645057;
}

.item-list p::after {
  content: '';
  display: block;
  width: 50px;
  height: 2px;
  background-color: #c2c1c1;
  margin-top: 10px;
  margin-left: auto;
  margin-right: auto;
}

.instagram {
  text-align: center;
  padding-top: 50px;
}
.instagram span {
  font-family: 'Raleway', sans-serif;
  font-size: 16px;
}

/* アクセス */
.access {
  padding-top: 100px;
  padding-bottom: 180px;
}

.access h1 {
  font-size: 30px;
  font-weight: bold;
  text-align: center;
  letter-spacing: 4px;
  font-family: 'Raleway', sans-serif;
}

.access h1::after {
  content: '';
  display: block;
  width: 36px;
  height: 3px;
  background-color: #000000;
  margin-top: 20px;
  margin-left: auto;
  margin-right: auto;
}

.map {
  width: 930px;
  max-width: 90%;
  margin-top: 50px;
  margin-left: auto;
  margin-right: auto;
}

.map p {
  font-size: 18px;
  text-align: center;
  color:#645057;
}

.map iframe {
  display: block;
  width: 100%;
  height: 320px;
  margin-top: 25px;
}

.contact {
  margin-top: 75px;
  margin-bottom: 30px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.contact p {
  font-size: 18px;
  color:#645057;
  margin-bottom: 50px;
}

.contact img {
  margin-left: 10px;
  margin-right: 10px;
  height: 50px;
  width: auto;
  border-radius: 7px;
}

/* インスタアイコン */
.insta_btn{/*ボタンの下地*/
  color: #FFF;/*文字・アイコン色*/
  border-radius: 7px;/*角丸に*/
  position: relative;
  display: inline-block;
  height: 50px;/*高さ*/
  width: 170px;/*幅*/
  text-align: center;/*中身を中央寄せ*/
  font-size: 20px;/*文字のサイズ*/
  line-height: 53px;/*高さと合わせる*/
  background: -webkit-linear-gradient(135deg, #427eff 0%, #f13f79 70%) no-repeat;
  background: linear-gradient(135deg, #427eff 0%, #f13f79 70%) no-repeat;/*グラデーション①*/
  overflow: hidden;/*はみ出た部分を隠す*/
  text-decoration:none;/*下線は消す*/
}

.insta_btn:before{/*グラデーション②*/
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;/*全体を覆う*/
  height: 100%;/*全体を覆う*/
  background: -webkit-linear-gradient(15deg, #ffdb2c, rgb(249, 118, 76) 25%, rgba(255, 77, 64, 0) 50%) no-repeat;
  background: linear-gradient(15deg, #ffdb2c, rgb(249, 118, 76) 25%, rgba(255, 77, 64, 0) 50%) no-repeat;
}

.insta_btn .fa-instagram{/*アイコン*/
  font-size: 35px;/*アイコンサイズ*/
  position: relative;
  top: 4px;/*アイコン位置の微調整*/
}

.insta_btn span {/*テキスト*/
  display:inline-block;
  position: relative;
  transition: .5s
}
/* ホバーで一周回転
.insta_btn:hover span{/*ホバーで一周回転*/
  /* -webkit-transform: rotateX(360deg);
  -ms-transform: rotateX(360deg);
  transform: rotateX(360deg);
} */ 


@media (max-width: 800px) {
  .first-view {
    height: calc(100vh - 50px);
    background-image: url(../images/index/nail-main.jpg);
    align-items: flex-start;
    margin-left: 0;
    margin-top: 0;
  }

  .first-view-text h1 {
    font-size: 36px;
    line-height: 48px;
  }

  .first-view-text p {
    font-size: 14px;
    margin-top: 15px;
  }

  .lead {
    padding-left: 20px;
    padding-right: 20px;
    text-align: left;
  }

  .lead p {
    text-align: left;
  }

  .item-list {
    padding-left: 20px;
    padding-right: 20px;
  }

  .item-list li {
    width: 220px;
    margin-left: 30px;
  }

}
