@charset "UTF-8";
/*---------------------------
トップイメージ
---------------------------*/
main {
  width: 100%;
}

.fv {
  position: relative;
  height: 700px;
  padding-left: 50px;
  background-image: url(../images/back.jpg);
  background-size: cover;
  background-position: center;
  text-align: center;
}

.fv h1 {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  display: block;
  font-weight: bold;
  font-size: 4rem;
  color: #ddd;
  text-shadow: 2px 4px 4px rgba(0, 0, 0, 0.4);
  text-align: center;
}

.fv h1 span {
  display: block;
  margin-top: 30px;
  font-size: 1.5rem;
  color: #ddd;
}

/*---------------------------
WORKS
---------------------------*/
.works {
  padding-bottom: 50px;
}

.works .title {
  margin-bottom: 30px;
}

.works .subttl {
  margin-bottom: 50px;
}

.works .works__col {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
}

.works .works__col-img {
  margin: 0 20px 30px;
  text-align: center;
}

.works .works__col-img img {
  width: 400px;
  height: auto;
  transition: 0.3s;
  box-shadow: 0 1px 4px 0 rgba(0, 0, 0, 0.5);
}

.works .works__col-img img:hover {
  transition: 0.3s;
  transform: translate(0, -4px);
  box-shadow: 0 5px 10px 0 rgba(0, 0, 0, 0.5);
}

.works .works__col-des {
  padding-top: 20px;
}

/*---------------------------
コラム
---------------------------*/
.column {
  background-color: #eee;
  padding: 0 25px 50px;
}

.column .title {
  margin-bottom: 30px;
}

.column .subttl {
  margin-bottom: 50px;
}

.column__card {
  width: calc(33.33% - 30px / 3);
  margin: 0 15px 25px 0;
}

.column__card:nth-of-type(3n) {
  margin-right: 0;
}

.column__card img {
  margin-bottom: 10px;
  box-shadow: 0 1px 4px 0 rgba(0, 0, 0, 0.5);
}

.column__card img:hover {
  transition: 0.3s;
  transform: translate(0, -4px);
  box-shadow: 0 5px 10px 0 rgba(0, 0, 0, 0.5);
}

.column__card h3 {
  margin-bottom: 10px;
  font-size: 20px;
  text-align: center;
}

.column__card p {
  text-align: right;
  font-style: italic;
  font-size: 13px;
}

.column__card-wrapper {
  display: flex;
  flex-wrap: wrap;
  max-width: 1024px;
  margin: 0 auto;
}

/*---------------------------
プロフィール
---------------------------*/
.profile {
  height: 80%;
  padding-bottom: 100px;
}

.profile .title {
  margin-bottom: 30px;
}

.profile .subttl {
  margin-bottom: 50px;
}

.profile__wrap {
  display: flex;
  justify-content: center;
  align-items: center;
}

.profile__img {
  margin-right: 30px;
}

.profile__img img {
  width: 250px;
  height: auto;
}

.profile__cont {
  max-width: 500px;
  text-align: start;
  line-height: 2em;
}

/*---------------------------
スキル
---------------------------*/
.skill {
  background-color: #eee;
  padding-bottom: 50px;
}

.skill .title {
  margin-bottom: 30px;
}

.skill .subttl {
  margin-bottom: 50px;
}

.skill__card {
  margin: 50px auto;
  text-align: start;
}

.skill__card-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
}

.skill__card-wrapper img {
  width: 100px;
  height: auto;
}

.skill__card-wrapperRight {
  width: 40%;
  padding-left: 30px;
  line-height: 1.5;
}

.skill__card-wrapperRight h3 {
  margin-bottom: 20px;
  font-weight: bold;
  font-size: 1.3rem;
}

/*---------------------------
お問い合わせ
---------------------------*/
.contact {
  height: 80%;
  padding-bottom: 100px;
}

.contact .title {
  margin-bottom: 30px;
}

.contact .subttl {
  margin-bottom: 50px;
}

.contact .button {
  position: relative;
  left: 50%;
  transform: translateX(-50%);
  display: inline-block;
  background-color: #555;
  color: #fff;
  font-size: 20px;
  border: solid 2px #555;
}

.contact .button:hover a {
  background-color: #fff;
  color: #555;
}

.contact .button a {
  display: block;
  padding: 10px 20px;
  text-align: center;
  transition: background-color 0.2s, color 0.2s;
}

@media (max-width: 800px) {
  /*---------------------------
トップイメージ レスポンシブ
---------------------------*/
  .fv {
    height: 400px;
    padding-left: unset;
  }
  .fv h1 {
    font-size: 2rem;
    width: 100%;
  }
  .fv h1 span {
    margin-top: 20px;
    font-size: 1rem;
    line-height: 1.5;
  }
  /*---------------------------
WORKS レスポンシブ
---------------------------*/
  .works .works__col-img {
    margin: 0 20px 30px;
    text-align: center;
  }
  .works .works__col-img img {
    max-width: 400px;
    width: 100%;
  }
  /*---------------------------
コラム レスポンシブ
---------------------------*/
  .column {
    padding: 0 20px 50px;
  }
  .column__card {
    width: 100%;
    margin: 0 auto 30px;
    text-align: center;
  }
  .column__card img {
    max-width: 400px;
    width: 100%;
  }
  .column__card h3 {
    font-size: 16px;
  }
  .column__card p {
    font-size: 11px;
  }
  /*---------------------------
プロフィール レスポンシブ
---------------------------*/
  .profile__wrap {
    flex-direction: column-reverse;
  }
  .profile__img {
    margin: unset;
  }
  .profile__img img {
    width: 150px;
  }
  .profile__cont {
    max-width: unset;
    margin-bottom: 30px;
    padding: 0 30px 0;
  }
  /*---------------------------
スキル レスポンシブ
---------------------------*/
  .skill__card {
    margin: 30px auto;
    text-align: center;
  }
  .skill__card-wrapper {
    flex-direction: column;
    align-items: center;
  }
  .skill__card-wrapperRight {
    width: 100%;
    padding: 20px 30px;
  }
  /*---------------------------
お問い合わせ レスポンシブ
---------------------------*/
  .contact {
    padding-left: 15px;
    padding-right: 15px;
  }
  .contact .subttl {
    line-height: 1.5;
  }
}
