@charset "utf-8";

/* レイアウト
____________________________________*/

figure img {
  background: #3f3f3f;
}

.btn-works {
  display: inline-block;
  padding: 7px 40px;
  margin: 3px 0 0 0;
  border: 2px solid #fff;
  border-radius: 50px;
  font-family: 'M PLUS 2', sans-serif;
  color: #fff;
  font-size: 2rem;
  font-weight: bold;
  text-decoration: none;
  text-transform: capitalize;
  line-height: 50px;
  background-color: rgba(255, 255, 255, .3);
}

.btn-works:hover {
  color: #222;
  background-color: rgba(255, 255, 255, .9);
}

.btn-works-about {
  display: inline-block;
  letter-spacing: 0.1em;
  padding: 1em 2em;
  margin: 1em;
  width: 100%;
  max-width: 220px;
  text-align: center;
  text-decoration: none;
  color: #fff;
  border-radius: 3px;
  border: 1px solid #1b1b1b;
  background: #1b1b1b;
}

.btn-works-about:hover {
  color: #222;
  border: 1px solid #1B1B1B;
  background: #fff;
}

.color-w {
  color: #FFF;
}

.color-b {
  color: #222;
  text-align: start;
  letter-spacing: 0.1rem;
  line-height: 1.5rem;
}


.grid-container {
  display: grid;
  margin: 0px auto;
  grid-template-areas: "item1 item1 item1 item2" "item1 item1 item1 item2";
  grid-template-rows: auto;
  grid-template-columns: auto;
  width: auto;
  grid-gap: 0px;
}

.grid-item {
  padding: 0px 5px;
  text-align: center;
  box-sizing: border-box;
  border: 1px solid #FFF;
  background-color: #FFF;
}

.item1 {
  grid-area: item1;
}

.item2 {
  grid-area: item2;
  padding: 50px 5px;
}

#nav {
  list-style: none;
}

#nav li {
  width: 100px;
  text-align: center;
  background-color: #FFF;
  display: inline-block;
  font-size: 16px;
}

#nav li a {
  text-decoration: none;
  color: #222;
  font-family: 'Poiret One', cursive;
  font-size: 1.5rem;
  font-weight: bold;
}


/* About
____________________________________*/

.inner {
  width: 100%;
  max-width: 1200px;
  margin: auto;
}

#about-me {
  background: #fff;
  padding: 100px 0;
}

#about-me .inner {
  position: relative;
  z-index: 10;
}

#about-me h2 {
  margin-bottom: 60px;
}

#about-me h2 span {
  font-family: 'Poiret One', cursive;
  font-size: 2rem;
  font-weight: bold;
  color: #222;
  display: block;
}

#about-me .explanation {
  max-width: 62.5%;
  background: #fff;
  padding: 60px 70px;
  box-shadow: 0 10px 30px 0 rgba(4, 53, 128, .15);
}

#about-me .explanation h3 {
  font-family: 'M PLUS Rounded 1c', sans-serif;
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 20px;
  text-align: center;
  letter-spacing: 2px;
}

#about-me figure {
  position: absolute;
  top: 0;
  right: 0;
  z-index: -1;
}


/* About 横棒グラフ
____________________________________*/

.wrapper {
  margin: 0 auto;
  width: 100%;
  margin-top: 15px;
  background-color: #fff;
}

.bar {
  position: relative;
  width: 100%;
  height: 48px;
  background: rgba(255, 255, 255, 0.1);
  margin-bottom: 1.5rem;
  border-radius: 5px;
  font-family: 'M PLUS Rounded 1c', sans-serif;
  font-weight: bold;
  text-align: left;
  background-color: #f2f4f8;
}

.bar .bar-info {
  border-radius: 5px;
  padding: 0.90rem;
  background: #fd7473;
  color: white;
  width: 10%;
  position: relative;
  height: 100%;
  transition: width 3.3s ease-in-out;
}

.bar .bar-info .percent {
  float: right;
}

.bar .bar-info.skill-1 {
  background: linear-gradient(#fd7d7d, #FC688E), #e36666;
}

.bar .bar-info.skill-2 {
  background: linear-gradient(#fec951, #FCAD44), #fec951;
}

.bar .bar-info.skill-3 {
  background: linear-gradient(#00F3C4, #02daaf), #02d3a9;
}

.bar .bar-info.skill-4 {
  background: linear-gradient(#5fd0fd, #28BEFA), #47b8e0;
}

.bar .bar-info.skill-5 {
  background: linear-gradient(#f984f5, #c872de), #b87bed;
}


/* グラデ

.bar .bar-info.skill-1 {
  background: linear-gradient(to bottom right, #fc8803, #fd4e71);
}

.bar .bar-info.skill-2 {
  background: linear-gradient(to bottom right, #fcd40e, #ff7708);
}

.bar .bar-info.skill-3 {
  background: linear-gradient(to bottom right, #00E2C6, #03c8a1);
}

.bar .bar-info.skill-4 {
  background: linear-gradient(to bottom right, #00F3C4, #823AF3);
}

.bar .bar-info.skill-5 {
  background: linear-gradient(to bottom right, #ff2adc, #823AF3);
}

*/


/* Contact
____________________________________*/

#contact-icon {
  text-align: center;
}

.inline-block-content {
  display: inline-block;
  width: 100px;
  margin: 0 10px;
  padding: 10px 15px;
}

#box4 h2 span {
  font-size: 1rem;
  display: block;
}


/* Photoスライダー
____________________________________*/

.slider {
  /*横幅94%で左右に余白を持たせて中央寄せ*/
  width: 94%;
  margin: 0 auto;
}

.slider img {
  width: 100%;
  /*スライダー内の画像を横幅100%に*/
  height: auto;
}


/*slickのJSで書かれるタグ内、スライド左右の余白調整*/

.slider .slick-slide {
  margin: 0 10px;
}


/*矢印の設定*/


/*戻る、次へ矢印の位置*/

.slick-prev, .slick-next {
  position: absolute;
  /*絶対配置にする*/
  top: 42%;
  cursor: pointer;
  /*マウスカーソルを指マークに*/
  outline: none;
  /*クリックをしたら出てくる枠線を消す*/
  border-top: 2px solid #666;
  /*矢印の色*/
  border-right: 2px solid #666;
  /*矢印の色*/
  height: 15px;
  width: 15px;
}

.slick-prev {
  /*戻る矢印の位置と形状*/
  left: -1.5%;
  transform: rotate(-135deg);
}

.slick-next {
  /*次へ矢印の位置と形状*/
  right: -1.5%;
  transform: rotate(45deg);
}


/*ドットナビゲーションの設定*/

.slick-dots {
  text-align: center;
  margin: 20px 0 0 0;
}

.slick-dots li {
  display: inline-block;
  margin: 0 5px;
}

.slick-dots button {
  color: transparent;
  outline: none;
  width: 8px;
  /*ドットボタンのサイズ*/
  height: 8px;
  /*ドットボタンのサイズ*/
  display: block;
  border-radius: 50%;
  background: #ccc;
  /*ドットボタンの色*/
}

.slick-dots .slick-active button {
  background: #222;
  /*ドットボタンの現在地表示の色*/
}





/* 横幅が768px以下になった際の指定 */

@media only screen and (max-width: 768px) {

  /* About
        ____________________________________*/
  .inner {
    max-width: 90%;
  }
  #about-me {
    padding: 30px 0;
  }
  #about-me h2 {
    font-size: 3rem;
    margin-bottom: 20px;
    text-align: center;
  }
  #about-me h2 span {
    font-size: 1.5rem;
  }
  #about-me .explanation {
    max-width: 100%;
    padding: 0;
    margin-bottom: 15px;
    box-shadow: none;
  }
  #about-me .explanation h3 {
    font-size: 1.1rem;
    letter-spacing: 0;
  }
  #about-me figure {
    position: static;
  }
  .bar {
    font-size: 0.8rem;
  }
  h2#contact {
    font-size: 3rem;
  }
  #nav li {
    padding: 10px 0px 10px 0px;
  }
}