body {
  font-family: "Montserrat", "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
  font-size: 15px;
  letter-spacing: .05em;
  color: #333;
}

a {
  transition: opacity .3s;
  text-decoration: none;
  color: #1ca9e3;
}

a:hover {
  opacity: .5;
}


img {
  max-width: 100%;
  height: auto;
  vertical-align: bottom;
  border-style: none;
}

li {
  list-style-position: inside;
}

.pc-only {
  display: block;
}

.sp-only {
  display: none;
}

@media screen and (max-width: 767px) {
  body {
    font-size: 14px;
  }

  .pc-only {
    display: none;
  }

  .sp-only {
    display: block;
  }
}

/*--------------------------------
 レイアウト
---------------------------------*/
.wrapper {
  padding-top: 73px;
}

.section {
  padding: 90px 0;
}

.section:nth-of-type(odd) {
  background-color: #f7f7f7;
}

.container {
  max-width: 1340px;
  margin: 0 auto;
  padding: 0 40px;
}


@media screen and (max-width: 767px) {
  .wrapper {
    padding-top: 57px;
  }

  .section {
    padding: 60px 0;
  }

  .container {
    padding: 0 20px;
  }
}


/*--------------------------------
 見出し
---------------------------------*/
.title {
  font-size: 34px;
  font-weight: bold;
  line-height: 1;
  margin-bottom: 40px;
  text-align: center;
  letter-spacing: .05em;
  color: #333;
}

.lead {
  font-size: 16px;
  line-height: 1.8;
  margin-bottom: 30px;
}

@media screen and (max-width: 767px) {

  .title {
    font-size: 26px;
    margin-bottom: 20px;
  }

  .lead {
    font-size: 14px;
    line-height: 1.7;
    margin-bottom: 20px;
  }
}

/*--------------------------------
ヘッダー
---------------------------------*/
.header {
  position: fixed;
  top: 0;
  z-index: 1;
  width: 100%;
  background-color: #fff;
  box-shadow: 0 5px 10px -6px rgba(0, 0, 0, .1);
}

.header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 40px;
}

.header-logo {
  font-size: 20px;
  font-weight: bold;
  line-height: 1.2;
  margin-right: 25px;
  letter-spacing: .05em;
}

.header-logo a {
  color: #333;
}


.header-logo img {
  width: 25px;
}


.gnav-list {
  display: flex;
  justify-content: space-between;
  list-style: none;
}

.gnav-item:not(:last-child) {
  margin-right: 20px;
}

.gnav-item a {
  position: relative;
  font-size: 13px;
  font-weight: bold;
  display: inline-block;
  padding: 5px 0;
  transition: .3s;
  letter-spacing: .05em;
  color: #333;
}

.gnav-item a:after {
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 3px;
  content: "";
  transition: .3s;
  transform: translateX(-50%);
  background-color: #333;
}

.gnav-item a:hover:after {
  width: 100%;
}

#drawer-nav,
#drawer {

  display: none;
}


@media screen and (max-width: 550px) {
  .gnav {
    display: none;
  }

  #drawer-nav,
  #drawer {
    display: block;
  }


  .drawer-item a {
    position: relative;
    font-size: 13px;
    font-weight: bold;
    display: inline-block;
    padding: 5px 0;
    transition: .3s;
    letter-spacing: .05em;
    color: #333;
  }

  .drawer-item a:after {
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 3px;
    content: "";
    transition: .3s;
    transform: translateX(-50%);
    background-color: #333;
  }

  .drawer-item a:hover:after {
    width: 100%;
  }


  /*ハンバーガーメニュー*/
  /*中身*/

  #drawer-nav {
    position: absolute;
    height: 100vh;
    width: 200px;
    right: -200px;
    top: 0;
    background: #d0fbde;
    z-index: 9998;
    transition: 0.5s;
  }

  #drawer-nav ul {
    padding-top: 75px;
    font-weight: bold;
  }

  #drawer-nav ul li {
    list-style: none;
    font-size: 16px;
    padding-left: 20px;
  }

  #drawer-nav ul li a {
    display: block;
    text-decoration: none;
    margin-bottom: 20px;
    padding: 10px;
    color: #000;
  }



  /*三本線*/
  /*クリック前*/

  #drawer {
    display: block;
    position: absolute;
    top: 20px;
    right: 30px;
    width: 25px;
    height: 25px;
    z-index: 9999;
  }

  .drawer-line {
    display: block;
    position: absolute;
    right: 0;
    width: 30px;
    height: 4px;
    border-radius: 10px;
    background: #333;
    transition: 0.5s;
  }

  #line1 {
    top: 0;
  }

  #line2 {
    top: 10px;
  }

  #line3 {
    bottom: 0;
  }

  /*クリック後*/
  .in {
    transform: translateX(-100%);
  }

  .drawer-line.line_1 {
    transform: translateY(9px) rotate(-45deg);
  }


  .drawer-line.line_2 {
    opacity: 0;
  }


  .drawer-line.line_3 {
    transform: translateY(-12px) rotate(45deg);
  }


}

/*--------------------------------
 メインビジュアル
---------------------------------*/
.mv {
  display: flex;
  align-items: center;
  justify-content: center;
  height: auto;
  text-align: center;
}

.mv-container {
  position: relative;
  padding: 0 20px;
}

.mv-container img {
  width: 100%;
  height: auto;
}


@media screen and (max-width: 400px) {

  .mv {
    height: 40vh;
  }

  .mv-container {
    padding: 0 20px;
  }

  .mv-title {
    font-size: 30px;
  }

  .mv-subtitle {
    font-size: 16px;
    margin-bottom: 20px;
  }

  .mv-text {
    top: 75%;
    font-size: 14px;
    line-height: 1.7;
  }
}

/*--------------------------------
 Skill
---------------------------------*/
.skill-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  margin-bottom: -50px;
}

.skill-item {
  display: flex;
  align-items: center;
  flex-direction: column;
  justify-content: space-between;
  width: 20%;
  margin-bottom: 50px;
}

.skill-p {
  text-align: center;
  padding: 40px;
  font-size: 20px;
}

.skill-img {
  width: 60px;
  height: auto;
}

.skill-body {
  padding: 20px;
  flex: 1;
}

.skill-name {
  margin-bottom: 10px;
}

.skill-text {
  font-size: 14px;
  line-height: 1.8;
}

@media screen and (max-width: 767px) {

  .skill-list {
    display: block;
    margin-bottom: 0;
  }

  .skill-item {
    width: 100%;
    margin-bottom: 35px;
  }

  .skill-item:last-child {
    margin-bottom: 0;
  }

  .skill-name {
    margin-bottom: 5px;
  }

  .skill-text {
    font-size: 13px;
    line-height: 1.7;
  }
}

/*--------------------------------
 Works
---------------------------------*/

.works-list {
  list-style: none;
  display: flex;
}


.works-list li {
  width: 40%;
  margin: 20px;
  margin-bottom: 60px;
}

.works-list li:hover {
  opacity: .6;
}

.works-item {
  width: auto;
}

.works-img img {
  border: 1px solid #e6e6e6;
}

.works-name {
  font-size: 12px;
  font-weight: bold;
  margin-top: 8px;
}

.works-info {
  font-size: 10px;
  margin-top: 5px;
}

@media screen and (max-width: 767px) {

  .works-name {
    font-size: 12px;
  }

  .works-info {
    margin-top: 3px;
  }

  .works-list {
    display: block;
    text-align: center;
  }

  .works-list li {
    width: auto;
  }

  .works-img {
    padding: auto;
  }

}

/*--------------------------------
 blog
---------------------------------*/

.blog-list {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 50px;
}


.blog-list li {
  width: 30%;
  height: auto;
  margin-bottom: 50px;
  position: relative;
  padding: 0 15px;
  background-color: rgb(242 242 242)
}

.line {
  margin: 10px;
}

.photo img {
  width: 100%;
  height: 100%;
}

.blog-item {
  color: #333;
}

.blog-item h3 {
  font-size: 1.3rem;
  padding: 20px 0;
}

.blog-item p {
  font-size: 1.15rem;
  padding-bottom: 40px;
}

.blog-item .date {
  position: absolute;
  bottom: 0;
}

.button {
  text-align: right;
}

@media screen and (max-width: 767px) {


  .blog-list {
    display: block;
  }

  .blog-list li {
    width: 100%;

  }

  .button {
    text-align: center;
  }


  .button a {
    font-size: 1.05rem;
    padding: 10px 20px;
  }

}

/*----------------------------------------

　　　　　　　　その他

------------------------------------------*/
/*ページネーション*/

.pagination__item a,
.pagination__item--current,
.pagination__btn--prev,
.pagination__btn--next,
.pagination__btn--first,
.pagination__btn--last {
  display: block;
  color: #666;
  text-align: center;
  text-decoration: none;
  border: 1px solid #ccc;
  min-width: 1em;
  transition: all .3s;
  padding: .5em .5em;
  margin: 0 .2em;
}

.pagination__item a:hover:not(li),
.pagination__item--current:hover:not(li),
.pagination__btn--prev:hover:not(li),
.pagination__btn--next:hover:not(li),
.pagination__btn--first:hover:not(li),
.pagination__btn--last:hover:not(li) {
  background: #f3f3f3;
}

.pagination {
  box-sizing: border-box;
  display: flex;
  justify-content: center;
  color: #666;
  line-height: 1;
  margin: 0;
  padding: 2em 0;
}

.pagination__list {
  display: none;
}

.pagination__pos {
  order: 2;
  border: 1px solid #ccc;
  margin: 0 .2em;
  padding: .5em 1em;
}

.pagination__btn--prev {
  order: 1;
}

.pagination__btn--next {
  order: 3;
}

.pagination__btn--first {
  display: none;
}

.pagination__btn--last {
  display: none;
}

@media (min-width: 520px) {
  .pagination__list {
    order: 2;
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
  }

  .pagination__item--current {
    background: #99d2ab;
    color: #fff;
    font-weight: bold;
  }

  .pagination__pos {
    display: none;
  }

  .pagination__btn--prev {
    order: 1;
  }

  .pagination__btn--next {
    order: 3;
  }
}

@media (min-width: 960px) {
  .pagination__list {
    order: 3;
  }

  .pagination__btn--prev {
    order: 2;
  }

  .pagination__btn--next {
    order: 4;
  }

  .pagination__btn--first {
    order: 1;
    display: block;
  }

  .pagination__btn--last {
    order: 5;
    display: block;
  }
}

/*--------------------------------
 About
---------------------------------*/
.profile {
  display: flex;
  flex-wrap: wrap;
  max-width: 800px;
  margin: 0 auto;
}

.profile-img {
  width: 20%;
  margin-right: 30px;
  border-radius: 50%;
}


.profile-body {
  flex: 1;
}

.profile-body p {
  font-size: 15px;
  line-height: 1.8;
}


.profile-body ul {
  list-style: none;
  padding-left: 15px;
  line-height: 30px;
}

.profile-body h3 {
  font-size: 1.5rem;
  padding: 15px;
}

.content2 {
  padding-top: 50px;

}


.profile-body p:not(:last-child) {
  margin-bottom: 30px;
}

@media screen and (max-width: 767px) {


  /* About */
  .profile {
    display: block;
  }

  .profile-img {
    width: 150px;
    margin: 0 auto;
    margin-bottom: 25px;
  }

  .profile-body p {
    font-size: 14px;
    line-height: 1.7;
  }

  .profile-body p:not(:last-child) {
    margin-bottom: 20px;
  }
}

/*--------------------------------
 Contact
---------------------------------*/
.contact {
  text-align: center;
}

.contact-list img {
  margin-left: 7px;
  width: 40px;
}

.contact-item:not(:last-child) {
  margin-right: 10px;
}

.contact-text {
  margin-top: 10px;
}

form {
  margin: 0 auto;
  width: 100%;
  max-width: 900px;
  padding: 30px 30px 0;
}

form table {
  border-spacing: 0;
  padding-left: 15%;
}

form td {
  padding: 20px;
}

form th {
  padding: 15px;
  text-align: left;
  font-weight: normal;
  vertical-align: top;
}

.hissu,
.ninni {
  padding-right: 4em;
}


.after {
  position: absolute;
  padding: 0 5px;
  font-size: 85%;
  color: #f34848;
}



form input,
form textarea {
  background: #ebebeb;
  margin: 0 5px;
  padding: 5px;
  box-sizing: border-box;
}

.contact-fome .submit-button {
  text-align: center;
  padding: 20px 0;
}


form input[type="submit"] {
  text-align: center;
  padding: 10px;
  color: #333;
  margin: 5px;
  cursor: pointer;
  width: 150px;
}

form input[type="submit"]:hover {
  opacity: 0.4;
}


.check {
  text-align: center;
}

@media screen and (max-width: 767px) {

  form table,
  form tr,
  form th,
  form td {
    display: block;
  }


  form table {
    padding-left: 0;
  }

  form th {
    width: auto;
    border-bottom: none;
    padding: 13px 10px 0 5em;
  }


  .hissu,
  .ninni {
    padding-left: 2em;
  }

  .hissu::after,
  .ninni::after {
    right: auto;
    left: 15px;
  }

  form input[type="text"],
  form textarea {
    width: calc(100% - 10px);
  }
}


/*--------------------------------
 ページトップ
---------------------------------*/
.page-top {
  font-weight: bold;
  padding: 10px;
  cursor: pointer;
  text-align: center;
  background-color: #4c4c4c;
}

.page-top .material-icons-outlined {
  vertical-align: bottom;
  color: #fff;
}

/*--------------------------------
 フッター
---------------------------------*/
.footer {
  padding: 30px;
  background-color: #333;
}

.copyright {
  font-size: 10px;
  text-align: center;
  color: #797979;
}

.privacy {
  text-align: center;
  margin: 30px;
}

@media screen and (max-width: 767px) {

  .footer {
    padding: 20px;
  }
}

/*--------------------------------
 下層：Worksページ
---------------------------------*/
.article {
  padding: 80px 0;
}

.article-container {
  max-width: 1040px;
  margin: 0 auto;
  padding: 0 20px;
}

.article-title {
  margin-bottom: 30px;
  text-align: center;
}

.article-body {
  max-width: 720px;
  margin: 0 auto;
  margin-bottom: 80px;
}

.article-body h3 {
  position: relative;
  font-size: 18px;
  margin-bottom: 5px;
  padding-left: 1em;
}

.article-body img {
  width: 100%;
  height: auto;
}

.article-body h3:not(:first-child) {
  margin-top: 50px;
}

.article-body h3::before {
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  content: "";
  border-radius: 3px;
  background-color: #333;
}

.article-body p {
  font-size: 15px;
  line-height: 1.8;
  margin-bottom: 30px;
}

.home-link {
  text-align: center;
}

.work-imgitem img {
  padding: 30px 0;
}

/*--------------------------------
ブログ記事ページ
---------------------------------*/
.post-header {
  align-items: center;
}

.thumbnail {
  text-align: center;
}


.post-title {
  width: auto;
  font-size: 2rem;
  padding: 20px;
  word-wrap: break-word;

}

.post-date {
  display: flex;
  justify-content: end;
  padding-right: 3%;
}

.post .text {
  font-size: 1.5rem;
  padding: 50px 0;
}


.back {
  text-align: center;
  padding-top: 60px;

}

@media screen and (max-width: 767px) {

  /* 下層ページ */
  .article {
    padding: 50px 0;
  }

  .article-body h3 {
    font-size: 16px;
    padding-left: .8em;
  }

  .article-body h3:not(:first-child) {
    margin-top: 30px;
  }

  .article-body p {
    font-size: 14px;
    line-height: 1.7;
    margin-bottom: 20px;
  }


}